:root {
    --primary: #000;
    --bg: #fff;
    --bg-secondary: #fafafa;
    --text: #011824;
    --text-muted: #0479a6;
    --accent: #d36600;
    --accent-alt: #0479a6;
    --border: #e5e5e5;
    --pixel-size: 4px;
    --card-bg: #fff;
    --card-shadow: rgba(0,0,0,0.08);

    /* Theme Variables */
    --main-font: 'Pixelify Sans', monospace; /* Default main font */
    --secondary-font: 'Space Grotesk', sans-serif; /* Default secondary font */
    --base-font-size: 16px;
    --line-height: 1.5;
    --theme-primary-color: var(--primary);
    --theme-secondary-color: var(--accent);
    --spacing-unit: 1rem;
}

[data-theme="dark"] {
    --primary: #fff;
    --bg: #0a0a18;
    --bg-secondary: #011824;
    --text: #f0f0f0;
    --text-muted: #999;
    --accent: #d36600;
    --accent-alt: #0479a6;
    --border: #1a1a2e;
    --card-bg: #011824;
    --card-shadow: rgba(255,255,255,0.05);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--secondary-font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s, color 0.3s;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--accent-alt);
}

/* Navigation with integrated theme toggle */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    z-index: 150;
    padding: 0.8rem 2rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .nav {
    background: rgba(10,10,24,0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@supports ((backdrop-filter: blur(0)) or (-webkit-backdrop-filter: blur(0))) {
    .nav {
        background: rgba(255,255,255,0.78);
        backdrop-filter: blur(18px) saturate(120%);
        -webkit-backdrop-filter: blur(18px) saturate(120%);
    }

    [data-theme="dark"] .nav {
        background: rgba(10,10,24,0.78);
    }
}

/* Fix for inline styles - Mobile CSP compatibility */
.nav-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-wrapper-extended {
    height: 225vh;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
}

.section-title-large {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.posts-subtitle {
    color: var(--text-muted);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--main-font);
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        gap: 1rem;
    }
    
    [data-theme="dark"] .nav-links {
        background: var(--bg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Sections positioning */
.email-section { position: relative; }
.trust-bar { position: relative; }

/* Footer trust bar: use default section width; content centered */
.footer .trust-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Footer email signup: use default section width */

/* Add light-mode dark sky overlay for Startklar to match hero/posts */
/* No overlays on email trust sections; use global stars */

/* No overlay on trust bar; rely on global stars and section styling */

/* Keep star brightness controlled inside footer sections */
/* Star brightness comes from global theme (t0-default) */

.logo {
    font-family: var(--main-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.logo a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo a:hover {
    color: var(--accent);
}

/* Theme Toggle integrated in nav */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text);
    transition: transform 0.2s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

h1 {
    font-family: var(--main-font);
    font-size: clamp(3rem, 10vw, 10rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-shadow: var(--pixel-size) var(--pixel-size) 0 var(--card-shadow);
    color: var(--text);
    text-transform: none;
}

.tagline {
    font-family: var(--main-font);
    font-size: clamp(1.25rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 auto 4rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
    max-width: 90%;
}

.tagline .brand-name {
    font-size: 1em !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
}

@media (min-width: 769px) {
    .tagline {
        max-width: 85%;
        margin: 0 auto 4rem;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (max-width: 1024px) {
    .hero {
        padding: 6rem 2.25rem 2.5rem;
        overflow: hidden;
    }

    .hero canvas#root,
    .hero .hero-particles {
        width: 100%;
        left: 0;
        transform: none;
    }

    .hero .hero-content {
        transform: none;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 7.6vw, 9.5rem);
    }
}

/* Pixel Stars Background */
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -5;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    width: var(--pixel-size);
    height: var(--pixel-size);
    background: var(--primary);
    opacity: 0.3;
    animation: twinkle 3s ease-in-out infinite;
}

[data-theme="dark"] .star {
    opacity: 0.5;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Improved Rocket Design */

.rocket-scroll {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 70px;
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(80px);
    pointer-events: none;
    overflow: visible;
}

.rocket-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rocket-scroll:hover .mini-rocket {
    animation: hover-bounce 0.5s ease-in-out infinite;
}

@keyframes hover-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mini-rocket {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.78);
    transform-origin: center bottom;
    width: 32px;
    height: 48px;
    transition: transform 0.3s ease;
}

.mini-rocket::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        /* Nose cone */
        linear-gradient(var(--primary) 0, var(--primary)) 14px 0 / 4px 4px no-repeat,
        linear-gradient(var(--primary) 0, var(--primary)) 12px 4px / 8px 4px no-repeat,
        linear-gradient(var(--primary) 0, var(--primary)) 10px 8px / 12px 4px no-repeat,
        /* Body */
        linear-gradient(var(--primary) 0, var(--primary)) 8px 12px / 16px 20px no-repeat,
        /* Window */
        linear-gradient(var(--accent) 0, var(--accent)) 12px 18px / 8px 6px no-repeat,
        /* Wings base */
        linear-gradient(var(--primary) 0, var(--primary)) 4px 28px / 24px 4px no-repeat,
        /* Left fin */
        linear-gradient(var(--primary) 0, var(--primary)) 0 32px / 8px 12px no-repeat,
        /* Right fin */
        linear-gradient(var(--primary) 0, var(--primary)) 24px 32px / 8px 12px no-repeat,
        /* Engine bell */
        linear-gradient(var(--primary) 0, var(--primary)) 10px 32px / 12px 8px no-repeat;
}

.rocket-fire {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%) scaleX(0.9);
    transform-origin: center top;
    width: 18px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

body.scrolling .rocket-fire {
    opacity: 1;
}

.rocket-fire::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(var(--accent) 0, var(--accent)) 6px 0 / 6px 12px no-repeat,
        linear-gradient(#ffa500 0, #ffa500) 3px 12px / 12px 8px no-repeat;
    animation: flicker 0.1s ease-in-out infinite alternate;
}

@keyframes flicker {
    to { transform: scaleY(1.3) translateY(2px); }
}

/* Cards Section with expandable content */
.cards-section {
    padding: 6rem 2rem;
    background: rgba(250, 250, 250, 0.95);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .cards-section {
    background: rgba(1, 24, 36, 0.95);
}

.section-header h2,
.section-heading,
.posts-header h2,
.email-title {
    font-family: var(--main-font);
    text-transform: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.section-header h2,
.section-heading {
    text-align: center;
    color: var(--text);
}

.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    --solution-accent: var(--accent);
    background-color: var(--card-bg);
    background-image: linear-gradient(-3deg,
        color-mix(in srgb, var(--solution-accent) 55%, transparent) 3%,
        rgba(42, 51, 66, 0) 66%
    );
    border: 2px solid var(--border);
    border: 2px solid color-mix(in srgb, var(--solution-accent) 35%, transparent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 18px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card-alt {
    --solution-accent: var(--accent-alt);
    background-color: var(--card-bg);
    background-image: linear-gradient(-3deg,
        color-mix(in srgb, var(--solution-accent) 55%, transparent) 3%,
        rgba(42, 51, 66, 0) 66%
    );
    border: 2px solid var(--accent-alt);
    border: 2px solid color-mix(in srgb, var(--solution-accent) 35%, transparent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 18px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card-alt:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.solution-card[role="link"],
.solution-card-alt[role="link"] {
    cursor: pointer;
}

.solution-card[role="link"]:focus,
.solution-card-alt[role="link"]:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

[data-theme="light"] .cards-variant-classic .solution-card {
    background-color: rgba(255, 255, 255, 0.98);
    border-color: rgba(31, 177, 234, 0.18);
    color: var(--text);
}

[data-theme="light"] .cards-variant-classic .solution-card p, .cards-variant-classic .solution-card-alt p {
    color: var(--text);
}

[data-theme="dark"] .cards-variant-classic .solution-card p, .cards-variant-classic .solution-card-alt p {
    color: var(--text);
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.solution-card__body {
    flex-grow: 1;
    display: grid;
    align-content: start;
    gap: 1rem;
}

.solution-card__header h3 {
    font-family: var(--main-font);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.solution-card__summary {
    font-family: var(--secondary-font);
    font-size: 1rem;
    line-height: 1.6;
}

.solution-card__body p {
    font-size: 1rem;
    line-height: 1.7;
}

.solution-card__highlight {
    margin-top: auto;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 177, 234, 0.25);
    background: rgba(31, 177, 234, 0.09);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

[data-theme="dark"] .solution-card__highlight {
    border-color: rgba(31, 177, 234, 0.4);
    background: rgba(31, 177, 234, 0.16);
}

.solution-card__highlight-content {
    display: grid;
    gap: 0.4rem;
}

.solution-card__highlight-content h4 {
    font-family: var(--mono-font);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.3;
    color: var(--accent);
}

.solution-card__highlight-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.solution-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #1a2332 !important;
    border: 2px solid var(--accent);
    font-family: var(--mono-font);
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.solution-card__cta:hover {
    transform: translateY(-2px);
    background: var(--accent-alt);
    border-color: var(--accent-alt);
}

.solution-card {
    border-left: 6px solid var(--accent);
}

.solution-card-alt {
    border-left: 6px solid var(--accent-alt);
}

.about-faq {
    margin-top: 5rem;
    margin-bottom: 5rem;
    text-align: left;
}

.about-faq .section-header {
    text-align: center;
    margin-bottom: 0!important;
}

.about-faq .section-heading {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.faq-items.inline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-faq .faq-item {
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    box-shadow: none;
    border-top: 1px solid var(--border);
}

.about-faq .faq-item h4 {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.about-faq .faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.about-faq .faq-item:first-of-type {
    border-top: none;
}

.about-faq .faq-item:last-of-type {
    border-bottom: 1px solid var(--border);
}

/* Posts Section */
.posts-section {
    padding: 4rem 2rem 4rem;
    background: transparent; /* let cards define surface like Startklar */
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .posts-section {
    background: transparent;
}

.posts-header {
    text-align: center;
    margin-bottom: 3rem;
}

.posts-title {
    font-family: var(--main-font);
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 1.5rem;
}

.posts-subtitle {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 72ch;
}

.posts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 900px) {
    .posts-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.posts-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 2rem 0;
}

.post {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 18px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--card-shadow);
}

.post-cover {
    display: block;
    margin: -1.5rem -1.5rem 1rem;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--border);
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.post:hover .post-cover img {
    transform: scale(1.03);
}

.post-type {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: none;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.posts-section .post-title,
.posts-container .post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.poll-options {
    margin: 1rem 0;
}

.poll-option {
    background: var(--bg-secondary);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.poll-option:hover {
    border-color: var(--accent);
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
    background: rgba(250, 250, 250, 0.95);
}

[data-theme="dark"] .about-section {
    background: rgba(1, 24, 36, 0.95);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    color: var(--text);
    text-transform: none;
}

.about-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 3rem;
    margin-top: 8rem;
}

.about-text .brand-name {
    font-size: 1em;
    color: var(--accent);
    font-family: var(--main-font);
}

/* Quality Badges */
.quality-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.badge-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

[data-theme="dark"] .badge-icon {
    color: #e8f4f0;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
    line-height: 1.2;
}

.excellence-badge:hover {
    border-color: #ffd700;
}

.security-badge:hover {
    border-color: #4CAF50;
}

.iso-badge:hover {
    border-color: #2196F3;
}

.europe-badge:hover {
    border-color: #FF6B35;
}

[data-theme="dark"] .badge {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .badge-text {
    color: #e8f4f0;
}

/* Mobile badges adjustment */
@media (max-width: 768px) {
    .quality-badges {
        gap: 1rem;
    }
    
    .badge {
        min-width: 100px;
        padding: 0.8rem 1rem;
    }
}

.values {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text);
    display: inline-block;
    position: relative;
    padding: 0.5rem 0;
}

.values::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-group-landing-page {
    margin-top: 0!important;
}


.cta-note {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Email Section */
.email-section {
    padding: 6rem 2rem; /* restore top padding as before */
    margin-top: -1px; /* overlap any previous section hairline */
    background: transparent;
    position: relative;
    z-index: 2;
}

.email-container {
    --email-accent: var(--accent);
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--card-bg);
    background-image: linear-gradient(-3deg,
        color-mix(in srgb, var(--email-accent) 55%, transparent) 6%,
        rgba(42, 51, 66, 0) 70%
    );
    padding: clamp(2rem, 4vw, 3rem);
    border: 2px solid var(--border);
    border-color: color-mix(in srgb, var(--email-accent) 30%, transparent);
    box-shadow: 0 8px 32px var(--card-shadow);
}

.email-title {
    color: var(--text);
}

.email-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
/* Ghost Members message visibility */
[data-members-form] .message-success,
[data-members-form] .message-error {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    margin-left: 0;
    font-size: 0.9rem;
}
[data-members-form].success .message-success { display: block; color: var(--accent); }
[data-members-form].error .message-error { display: block; color: var(--accent-red, #ff4d4f); }

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s;
    background: var(--bg);
    color: var(--text);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.email-button {
    padding: 0.9rem 2.2rem;
    background: var(--accent);
    color: #011824;
    border: 2px solid var(--accent);
    font-family: var(--mono-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(31, 177, 234, 0.2);
}

.email-button:hover {
    background: var(--accent-alt);
    border-color: var(--accent-alt);
    color: #011824;
    transform: translateY(-2px);
}

.email-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(31, 177, 234, 0.22);
}

.email-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.email-note__link {
    color: var(--text) !important;
    text-decoration: underline;
}

.email-note__link:hover,
.email-note__link:focus-visible {
    color: var(--accent) !important;
}

/* Footer */
.footer {
    padding: 0; /* avoid affecting starry sections placed at top */
    position: relative;
    z-index: 2;
    background: transparent; /* let starry sections (email/trust) show above */
}

/* Full-width surface behind main + sub footer */
.footer-surface {
    background-color: rgba(255, 255, 255, 0.95);
    background-image:
        var(--surface-noise, none),
        linear-gradient(180deg, rgba(31, 177, 234, 0.12) 0%, rgba(31, 177, 234, 0) 55%);
    background-repeat: repeat, no-repeat;
    background-size: 180px 180px, 100% 100%;
    padding: 0 2rem;
}
[data-theme="dark"] .footer-surface {
    background-color: rgba(10, 10, 24, 0.95);
    background-image:
        var(--surface-noise, none),
        linear-gradient(180deg, rgba(31, 177, 234, 0.2) 0%, rgba(31, 177, 234, 0) 65%);
    background-repeat: repeat, no-repeat;
    background-size: 180px 180px, 100% 100%;
}

.footer-content {
    padding: 4rem 0 2rem; /* lateral padding handled by .footer-surface */
    border-top: 0; /* remove separator above main footer */
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 0; /* remove unintended gap above bottom footer */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: transparent; /* surface handled by .footer-surface */
}
[data-theme="dark"] .footer-content { background: transparent; }

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--main-font);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: none;
    color: var(--text);
    text-shadow:
        2px 2px 0 var(--bg),
        3px 3px 0 var(--accent-red, var(--accent));
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

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

.footer-section h4 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--secondary-font);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--text);
}

.disabled-link {
    opacity: 0.55;
    cursor: not-allowed !important;
    position: relative;
}

.disabled-link:hover {
    color: var(--text-muted) !important;
}

/* Tooltip for disabled footer links (hover/focus/click) */
.disabled-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    bottom: 100%;
    white-space: nowrap;
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.25rem 0.5rem;
    font-family: var(--mono-font);
    font-size: 0.75rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 5;
}

.disabled-link[data-tooltip]::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% - 2px);
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--card-bg);
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 5;
}

.disabled-link[data-tooltip]:hover::after,
.disabled-link[data-tooltip]:hover::before,
.disabled-link[data-tooltip]:focus-visible::after,
.disabled-link[data-tooltip]:focus-visible::before,
.disabled-link[data-tooltip].show-tooltip::after,
.disabled-link[data-tooltip].show-tooltip::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0; /* lateral padding handled by .footer-surface */
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
    background: transparent; /* surface handled by .footer-surface */
}
[data-theme="dark"] .footer-bottom { background: transparent; }

.footer-legal {
    display: flex;
    gap: 2rem;
}

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

.footer-legal a:hover {
    color: var(--text);
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* KI-Agenten Landing Page Styles */

/* Hero Agents */
.hero-agents {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 2rem;
    position: relative;
    background: var(--bg);
}

.hero-agents .hero-content {
    max-width: 900px;
    margin: 0 auto;
}


.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    opacity: 0.7;
    font-size: 1.5rem;
    pointer-events: none;
    animation: scrollHintBounce 2.4s ease-in-out infinite;
}

.scroll-arrow {
    display: block;
    line-height: 1;
}

@keyframes scrollHintBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 6px;
    font-family: var(--mono-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cta-primary {
    background: var(--accent-red);
    color: #011824;
    border-color: var(--accent-red);
    box-shadow: 0 12px 24px rgba(211, 102, 0, 0.22);
}

.cta-primary:hover {
    transform: translateY(-2px);
    background: var(--accent);
    border-color: var(--accent);
    color: #011824;
}

.cta-secondary {
    background: var(--accent);
    color: #011824;
    border-color: var(--accent);
    box-shadow: 0 10px 22px rgba(31, 177, 234, 0.2);
}

.cta-secondary:hover {
    background: var(--accent-alt);
    border-color: var(--accent-alt);
    color: #011824;
}

/* Trust Bar */
.trust-bar {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    padding: 2rem 0;
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--secondary-font);
    font-weight: 500;
    color: var(--text-muted);
}

.trust-icon {
    font-size: 1.2rem;
}

/* Problem Section */
.problem-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.problem-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.problem-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--border);
}

.problem-stat {
    font-family: var(--main-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Solution Flow */
.solution-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.solution-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.solution-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text);
}

.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    min-width: 200px;
    max-width: 220px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--border);
}

.step-number {
    font-family: var(--main-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.flow-step h3 {
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

/* Use Cases Grid */
.use-cases-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.use-cases-content {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text);
}

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

.use-case-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    box-shadow: 0 4px 20px var(--card-shadow);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--card-shadow);
    border-color: var(--accent);
}

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

.use-case-card h3 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.use-case-summary {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.use-case-details {
    display: none;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.use-case-card.expanded .use-case-details {
    display: block;
}

.use-case-details h4 {
    font-family: var(--secondary-font);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.use-case-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.use-case-details li {
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.use-case-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.use-case-implementation {
    margin-bottom: 1.5rem;
}

.impl-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.step {
    background: var(--bg-secondary);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid var(--accent);
}

.use-case-integrations {
    margin: 1.5rem 0;
}

.integration {
    background: var(--accent-alt);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.use-case-details h4 {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1rem 0 0.5rem 0;
}

.use-case-metrics {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.metric {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tech Section */
.tech-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.tech-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tech-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--border);
}

.tech-item h3 {
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-muted);
    line-height: 1.4;
}

/* Enhanced Technology Section */
.tech-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 4rem;
}

.tech-category {
    background: transparent;
    padding: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.category-header i {
    color: var(--accent);
    flex-shrink: 0;
}

.category-header h3 {
    font-family: var(--main-font);
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
}

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

.tech-category .tech-item {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-category .tech-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--card-shadow);
}

.tech-category .tech-item.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.tech-category .tech-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
}

.tech-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-icon-wrapper i {
    color: white;
}

.tech-category .tech-item h4 {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tech-category .tech-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-specs span {
    background: var(--accent);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tech-category .tech-item.featured .tech-specs span {
    background: var(--accent-alt);
}

.tech-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--card-shadow);
}

.highlight-item i {
    color: var(--accent);
    flex-shrink: 0;
}

.highlight-content h4 {
    font-family: var(--secondary-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.highlight-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tech-categories {
        gap: 2rem;
    }
    
    .tech-category {
        padding: 0;
    }
    
    .tech-items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .category-header h3 {
        font-size: 1.3rem;
    }
    
    .tech-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .tech-category {
        padding: 0;
    }
    
    .tech-category .tech-item {
        padding: 1rem;
    }
    
    .tech-specs {
        gap: 0.3rem;
    }
    
    .tech-specs span {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

/* ROI Calculator */
.roi-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.roi-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.roi-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text);
}

.roi-calculator {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 12px 40px var(--card-shadow), 0 4px 20px rgba(255, 122, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roi-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    border-radius: 20px;
    padding: 2px;
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.roi-calculator:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px);
    box-shadow: 0 20px 60px var(--card-shadow), 0 8px 30px rgba(255, 122, 0, 0.2);
}

.roi-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-family: var(--secondary-font);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.input-group label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    border-radius: 2px;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--card-bg);
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
    box-shadow: 
        0 0 0 4px rgba(var(--accent-rgb, 255, 122, 0), 0.1),
        inset 0 2px 6px rgba(0, 0, 0, 0.05),
        0 4px 20px var(--card-shadow);
    transform: translateY(-2px);
}

.input-group input:hover {
    border-color: var(--accent-alt);
    transform: translateY(-1px);
}

.roi-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.roi-result {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(214, 51, 108, 0.1));
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 2px solid rgba(255, 122, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roi-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.roi-result:hover::before {
    left: 100%;
}

.roi-result:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.2);
}

.result-number {
    font-family: var(--main-font);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: numberPulse 3s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

/* Counter Animation States */
.result-number.counting {
    animation: counterPulse 0.3s ease-in-out infinite alternate;
    filter: brightness(1.2);
}

.result-number.completed {
    animation: counterComplete 0.5s ease-out;
}

@keyframes counterPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

@keyframes counterComplete {
    0% {
        transform: scale(1.2);
        filter: brightness(1.4) drop-shadow(0 0 20px var(--accent));
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.result-label {
    font-family: var(--secondary-font);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study */
.case-study-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.case-study-content {
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text);
}

.case-study-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.case-challenge, .case-solution, .case-results {
    text-align: left;
}

.case-study-card h3 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.case-study-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-item {
    text-align: center;
    background: var(--bg);
    padding: 1rem;
    border-radius: 8px;
}

.result-stat {
    font-family: var(--main-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.result-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 2px solid var(--border);
    position: relative;
    text-align: left;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-family: var(--secondary-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.price {
    font-family: var(--main-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

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

.price-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.pricing-btn.primary {
    background: var(--accent);
    color: white;
}

.pricing-btn.primary:hover {
    background: var(--accent-alt);
}

.pricing-btn.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--accent);
}

.pricing-btn.secondary:hover {
    background: var(--accent);
    color: white;
}

/* Enhanced Hero Agents Styling */
.hero-agents {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 2rem;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-background-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.agent-network-visualization {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-node 2s infinite;
}

.network-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: pulse-line 3s infinite;
}

@keyframes pulse-node {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-agents h1 {
    font-family: var(--main-font);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: var(--pixel-size) var(--pixel-size) 0 var(--card-shadow);
    color: var(--text);
}

.tagline-enhanced {
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--main-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-primary.enhanced {
    background: linear-gradient(45deg, var(--accent), var(--accent-alt));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.cta-primary.enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

/* Core Technologies Section */
.core-tech-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.core-tech-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.core-tech-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text);
}

.tech-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-showcase-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 4px 12px var(--card-shadow);
    cursor: pointer;
    text-align: left;
}

.tech-showcase-card:nth-child(1) { border-left: 4px solid var(--accent); }
.tech-showcase-card:nth-child(2) { border-left: 4px solid var(--accent-alt); }
.tech-showcase-card:nth-child(3) { border-left: 4px solid var(--text-muted); }
.tech-showcase-card:nth-child(4) { border-left: 4px solid var(--primary); }
.tech-showcase-card:nth-child(5) { border-left: 4px solid var(--accent); }
.tech-showcase-card:nth-child(6) { border-left: 4px solid var(--accent-alt); }

.tech-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.tech-showcase-card:nth-child(1):hover { border-left-width: 8px; }
.tech-showcase-card:nth-child(2):hover { border-left-width: 8px; }
.tech-showcase-card:nth-child(3):hover { border-left-width: 8px; }
.tech-showcase-card:nth-child(4):hover { border-left-width: 8px; }
.tech-showcase-card:nth-child(5):hover { border-left-width: 8px; }
.tech-showcase-card:nth-child(6):hover { border-left-width: 8px; }

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

.tech-showcase-card h3 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.tech-showcase-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-features span {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Industry Section */
.industry-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.industry-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.industry-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text);
}

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

.industry-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 4px 12px var(--card-shadow);
    cursor: pointer;
    text-align: center;
}

.industry-card:nth-child(1) { border-left: 4px solid var(--accent); }
.industry-card:nth-child(2) { border-left: 4px solid var(--accent-alt); }
.industry-card:nth-child(3) { border-left: 4px solid var(--text-muted); }
.industry-card:nth-child(4) { border-left: 4px solid var(--primary); }
.industry-card:nth-child(5) { border-left: 4px solid var(--accent); }
.industry-card:nth-child(6) { border-left: 4px solid var(--accent-alt); }
.industry-card:nth-child(7) { border-left: 4px solid var(--text-muted); }
.industry-card:nth-child(8) { border-left: 4px solid var(--primary); }
.industry-card:nth-child(9) { border-left: 4px solid var(--accent); }

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.industry-card:nth-child(1):hover { border-left-width: 8px; }
.industry-card:nth-child(2):hover { border-left-width: 8px; }
.industry-card:nth-child(3):hover { border-left-width: 8px; }
.industry-card:nth-child(4):hover { border-left-width: 8px; }
.industry-card:nth-child(5):hover { border-left-width: 8px; }
.industry-card:nth-child(6):hover { border-left-width: 8px; }
.industry-card:nth-child(7):hover { border-left-width: 8px; }
.industry-card:nth-child(8):hover { border-left-width: 8px; }
.industry-card:nth-child(9):hover { border-left-width: 8px; }

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* No visual separation per original prototype */
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--text);
    margin: 0 auto 1rem auto;
}

.industry-card h3 {
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

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

/* Final CTA Section */
.final-cta-section {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg) 100%);
    overflow: hidden;
}

.final-cta-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.cta-animation-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-circuit {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    animation: float-circuit 4s infinite;
}

.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: pulse-ring 3s infinite;
}

@keyframes float-circuit {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-urgency-badge {
    display: inline-block;
    background: rgba(255, 80, 68, 0.1);
    border: 1px solid var(--accent-alt);
    color: var(--accent-alt);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: urgency-pulse 2s infinite;
}

@keyframes urgency-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.final-cta-section h2 {
    font-family: var(--main-font);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
}

.cta-proposition {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-prop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.prop-icon {
    font-size: 1.5rem;
}

.final-cta-buttons {
    margin-bottom: 4rem;
}

.cta-mega-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(45deg, var(--accent), var(--accent-alt));
    border: none;
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 122, 0, 0.3);
    margin-bottom: 1rem;
}

.cta-mega-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 122, 0, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-content {
    text-align: left;
}

.btn-main {
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-sub {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-secondary-alt {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.cta-secondary-alt:hover {
    background: var(--accent);
    color: white;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.trust-stat {
    text-align: center;
}

.trust-stat .stat-number {
    font-family: var(--main-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.trust-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pricing Section Updates */
.pricing-card h4 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.consultation-cta h4 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

/* Consultation CTA */
.consultation-cta {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 1px solid var(--border);
}

.consultation-cta p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Page template: inline CTA should be centered, unboxed, and narrow */
.page-template .consultation-cta {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 1.25rem 1.25rem !important;
    max-width: 860px;
    margin: 3rem auto 0 auto; /* more top spacing; footer has own top padding */
    text-align: center;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-agents {
        padding: 12rem 1rem 1rem;
        min-height: 90vh;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary.enhanced {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Tech Showcase Mobile */
    .tech-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-showcase-card {
        padding: 1.5rem;
        min-width: 0;
    }
    
    .tech-features {
        justify-content: flex-start;
    }
    
    /* Industry Grid Mobile */
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .industry-card {
        padding: 1.5rem;
    }
    
    /* Final CTA Mobile */
    .final-cta-section {
        padding: 4rem 1rem;
    }
    
    .cta-value-props {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-mega-primary {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .btn-content {
        text-align: center;
    }
    
    .cta-secondary-alt {
        margin-left: 0;
        width: 100%;
        max-width: 300px;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Network Visualization Mobile */
    .agent-network-visualization {
        opacity: 0.5;
    }
    
    .network-node {
        width: 8px;
        height: 8px;
    }
    
    .network-connection {
        height: 1px;
    }
    
    /* Pricing Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    /* Use Cases Mobile */
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-card {
        min-width: 0;
    }
    
    /* ROI Calculator Mobile */
    .roi-calculator {
        flex-direction: column;
    }
    
    .roi-inputs, .roi-results {
        width: 100%;
    }
    
    .roi-results {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .final-cta-section h2 {
        font-size: 2rem;
    }
    
    .hero-agents h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    
    .tagline-enhanced {
        font-size: 1rem;
    }
    
    .cta-mega-primary {
        padding: 1.2rem 1.5rem;
        gap: 0.5rem;
    }
    
    .btn-main {
        font-size: 1rem;
    }
    
    .btn-sub {
        font-size: 0.8rem;
    }
    
    .tech-showcase-card, .industry-card {
        padding: 1.2rem;
    }
    
    .section-spacing {
        padding: 4rem 1rem;
    }
}

/* Animation Classes for Scroll Triggers */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.tech-showcase-card, .industry-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.tech-showcase-card.animate-in, .industry-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.tech-showcase-card:nth-child(1) { transition-delay: 0.1s; }
.tech-showcase-card:nth-child(2) { transition-delay: 0.2s; }
.tech-showcase-card:nth-child(3) { transition-delay: 0.3s; }
.tech-showcase-card:nth-child(4) { transition-delay: 0.4s; }
.tech-showcase-card:nth-child(5) { transition-delay: 0.5s; }
.tech-showcase-card:nth-child(6) { transition-delay: 0.6s; }

.industry-card:nth-child(1) { transition-delay: 0.1s; }
.industry-card:nth-child(2) { transition-delay: 0.15s; }
.industry-card:nth-child(3) { transition-delay: 0.2s; }
.industry-card:nth-child(4) { transition-delay: 0.25s; }
.industry-card:nth-child(5) { transition-delay: 0.3s; }
.industry-card:nth-child(6) { transition-delay: 0.35s; }
.industry-card:nth-child(7) { transition-delay: 0.4s; }
.industry-card:nth-child(8) { transition-delay: 0.45s; }
.industry-card:nth-child(9) { transition-delay: 0.5s; }

/* Focus and accessibility improvements */
.cta-primary.enhanced:focus,
.cta-mega-primary:focus,
.pricing-btn:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.tech-showcase-card:focus-within,
.industry-card:focus-within,
.use-case-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--card-shadow);
}

/* Real-World Agent Solutions */
.agent-solutions-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
}

.agent-solutions-content {
    max-width: 1400px;
    margin: 0 auto;
}

.agent-solutions-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* MCP Network 3D Visualization */
.mcp-network-container {
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--card-shadow);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}

.mcp-network-container h3 {
    font-family: var(--secondary-font);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.network-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.network-3d-container {
    position: relative;
    height: 500px;
    perspective: 1200px;
    perspective-origin: center center;
}

.network-3d-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: sceneGentleRock 60s ease-in-out infinite;
}

@keyframes sceneGentleRock {
    0% { transform: rotateY(0deg) rotateX(2deg); }
    25% { transform: rotateY(15deg) rotateX(-1deg); }
    50% { transform: rotateY(0deg) rotateX(3deg); }
    75% { transform: rotateY(-15deg) rotateX(1deg); }
    100% { transform: rotateY(0deg) rotateX(2deg); }
}

/* SVG Connection Lines */
.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Ghost required width helpers for editor content */
.kg-width-wide { width: min(1200px, 100%); margin: 0 auto; }
.kg-width-full { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* Network Nodes */
.network-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0));
    cursor: pointer;
    transition: all 0.4s ease;
    animation: nodeFloat 8s ease-in-out infinite, nodeBreathe 6s ease-in-out infinite, nodeSway 10s ease-in-out infinite;
    z-index: 2;
}

/* Primary tool nodes - larger and more prominent */
.tool-node.primary {
    animation: nodeFloat 7s ease-in-out infinite, nodeBreathe 5s ease-in-out infinite, nodeWobble 12s ease-in-out infinite;
}

.tool-node.primary:nth-child(2) { animation-delay: -1.2s, -0.8s, -2.1s; }
.tool-node.primary:nth-child(3) { animation-delay: -3.1s, -1.7s, -4.3s; }
.tool-node.primary:nth-child(4) { animation-delay: -2.4s, -3.2s, -0.9s; }
.tool-node.primary:nth-child(5) { animation-delay: -4.7s, -2.3s, -3.8s; }

/* Secondary tool nodes - smaller and more chaotic */
.tool-node.secondary {
    animation: nodeFloat 9s ease-in-out infinite, nodeTremor 4s ease-in-out infinite, nodeWobble 15s ease-in-out infinite;
}

.tool-node.secondary:nth-child(6) { animation-delay: -2.8s, -1.1s, -5.2s; }
.tool-node.secondary:nth-child(7) { animation-delay: -5.3s, -3.4s, -1.7s; }
.tool-node.secondary:nth-child(8) { animation-delay: -1.9s, -2.7s, -4.1s; }
.tool-node.secondary:nth-child(9) { animation-delay: -4.1s, -0.6s, -2.9s; }

.tool-node.secondary .node-core {
    width: 60px;
    height: 60px;
    border-width: 2px;
}

.tool-node.secondary .node-icon {
    font-size: 1.4rem;
}

.tool-node.secondary .node-label {
    font-size: 0.65rem;
}

@keyframes nodeFloat {
    0% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateY(0px); }
    33% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateY(-12px); }
    66% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateY(8px); }
    100% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateY(0px); }
}

@keyframes nodeBreathe {
    0% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(1); }
    40% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(1.15); }
    60% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(0.95); }
    100% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(1); }
}

@keyframes nodeTremor {
    0% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(0.9); }
    50% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(1.05); }
    100% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(0.9); }
}

@keyframes nodeWobble {
    0% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateX(0px) rotateZ(0deg); }
    20% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateX(12px) rotateZ(2deg); }
    40% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateX(-8px) rotateZ(-1deg); }
    60% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateX(15px) rotateZ(3deg); }
    80% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateX(-5px) rotateZ(-2deg); }
    100% { transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) translateX(0px) rotateZ(0deg); }
}

.network-node:hover {
    transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(1.1) !important;
    z-index: 10;
}

/* Hub Node - Central */
.hub-node {
    z-index: 5;
    --x: 0px;
    --y: 0px;
    --z: 0px;
}

.hub-node .node-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(255, 122, 0, 0.4);
    position: relative;
}

.hub-node .node-icon {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

.hub-node .node-label {
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.hub-node .node-status {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tool Nodes */
.tool-node .node-core {
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    box-shadow: 0 6px 24px var(--card-shadow);
    transition: all 0.3s ease;
}

.tool-node .node-icon {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.tool-node .node-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
}

.tool-node .node-status {
    font-size: 0.6rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tool-node:hover .node-core {
    border-color: var(--accent-alt);
    transform: scale(1.1);
}

/* Pulse Rings for Hub */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: pulse-expand 3s infinite;
    opacity: 0;
}

.pulse-ring.delayed {
    animation-delay: 1.5s;
}

@keyframes pulse-expand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Network Subnets */
.network-subnet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0));
    background: rgba(var(--accent-rgb, 255, 122, 0), 0.1);
    border: 2px solid rgba(var(--accent-rgb, 255, 122, 0), 0.3);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(4px);
    min-width: 160px;
    transition: all 0.3s ease;
}

.network-subnet:hover {
    background: rgba(var(--accent-rgb, 255, 122, 0), 0.2);
    border-color: rgba(var(--accent-rgb, 255, 122, 0), 0.5);
    transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) scale(1.05);
}

.subnet-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(var(--accent-rgb, 255, 122, 0), 0.2);
    padding-bottom: 0.5rem;
}

.subnet-icon {
    font-size: 1.2rem;
}

.subnet-label {
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text);
}

.subnet-nodes {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.subnet-node {
    background: rgba(var(--accent-rgb, 255, 122, 0), 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--text);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(var(--accent-rgb, 255, 122, 0), 0.2);
}

.subnet-node:hover {
    background: rgba(var(--accent-rgb, 255, 122, 0), 0.2);
    border-color: var(--accent);
}

/* Connection Mesh - Hidden but creates structure */
.connection-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, var(--accent), transparent, var(--accent));
    height: 2px;
    opacity: 0.3;
    animation: pulse 4s infinite;
}

/* Data Flow Particles */
.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: particleFlow 5s linear infinite;
}

@keyframes particleFlow {
    0%, 100% { opacity: 0; transform: scale(0); }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
}

/* Network Stats */
.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: 0 6px 24px var(--card-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.network-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt), var(--accent));
    animation: statsGlow 3s ease-in-out infinite;
}

@keyframes statsGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.stat-item {
    text-align: center;
    background: var(--card-bg);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    position: relative;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--card-shadow);
    border-color: var(--accent);
}

.stat-item:nth-child(1) { border-left: 4px solid var(--accent); }
.stat-item:nth-child(2) { border-left: 4px solid var(--accent-alt); }
.stat-item:nth-child(3) { border-left: 4px solid var(--text-muted); }
.stat-item:nth-child(4) { border-left: 4px solid var(--primary); }

.stat-item:nth-child(1):hover { border-left-width: 8px; }
.stat-item:nth-child(2):hover { border-left-width: 8px; }
.stat-item:nth-child(3):hover { border-left-width: 8px; }
.stat-item:nth-child(4):hover { border-left-width: 8px; }

.stat-value {
    font-family: var(--main-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
    text-shadow: 0 2px 4px rgba(255, 122, 0, 0.2);
}

.stat-label {
    font-family: var(--secondary-font);
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes countUp {
    from { 
        transform: scale(0.5) translateY(20px); 
        opacity: 0; 
    }
    to { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
    }
}

/* MCP Hub CTA */
.mcp-hub-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
    clear: both;
}

@media (max-width: 900px) {
    .mcp-hub-cta { flex-wrap: wrap; }
    .cta-content { flex-basis: 100%; }
    .cta-actions { width: 100%; justify-content: center; margin-top: 1rem; }
    .mcp-hub-cta .terminal { max-width: 100%; }
}

/* Featured CTA - More prominent positioning */
.mcp-hub-cta.featured-cta {
    margin: 3rem 0 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    border: 3px solid var(--accent);
    box-shadow: 0 12px 40px var(--card-shadow);
    color: white;
}

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

.mcp-hub-cta.featured-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px var(--card-shadow);
    border-color: var(--accent-alt);
}

/* Featured CTA text elements - ensure high contrast */
.mcp-hub-cta.featured-cta h4,
.mcp-hub-cta.featured-cta p {
    color: white !important;
}

/* Featured CTA feature tags - high contrast */
.mcp-hub-cta.featured-cta .feature-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent) !important;
    font-weight: 600;
}

/* Featured CTA buttons - ensure proper contrast */
.mcp-hub-cta.featured-cta .cta-primary {
    background: white;
    color: var(--accent) !important;
    border: 2px solid white;
}

.mcp-hub-cta.featured-cta .cta-secondary {
    background: transparent;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.mcp-hub-cta.featured-cta .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-content {
    flex: 1 1 600px;
    min-width: 300px;
}

.cta-content h4 {
    font-family: var(--secondary-font);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.cta-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.cta-actions .cta-primary {
    background: white;
    color: var(--accent);
    font-weight: 700;
}

.cta-actions .cta-primary:hover {
    background: var(--bg);
    transform: translateY(-2px);
}

.cta-actions .cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-actions .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* MCP Toolbox Section */
.mcp-toolbox-section {
    margin: 4rem 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 3px solid var(--accent);
    box-shadow: 0 12px 40px rgba(255, 122, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mcp-toolbox-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt), var(--accent));
    animation: toolboxGlow 4s ease-in-out infinite;
}

@keyframes toolboxGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(255, 122, 0, 0.5); }
}

.toolbox-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}
.toolbox-intro h3 {
    font-family: var(--secondary-font);
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}
.toolbox-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.toolbox-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.toolbox-header h3 {
    font-family: var(--secondary-font);
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.toolbox-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.toolbox-content {
    max-width: 1000px;
    margin: 0 auto;
}

.toolbox-description {
    text-align: center;
    margin-bottom: 2rem;
}

.toolbox-description h4 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.toolbox-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.toolbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.tool-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px var(--card-shadow);
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.tool-card:nth-child(1) { border-left: 4px solid var(--accent); }
.tool-card:nth-child(2) { border-left: 4px solid var(--accent-alt); }
.tool-card:nth-child(3) { border-left: 4px solid var(--text-muted); }
.tool-card:nth-child(4) { border-left: 4px solid var(--primary); }

.tool-card:nth-child(1):hover { border-left-width: 8px; }
.tool-card:nth-child(2):hover { border-left-width: 8px; }
.tool-card:nth-child(3):hover { border-left-width: 8px; }
.tool-card:nth-child(4):hover { border-left-width: 8px; }

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

.tool-info h5 {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tool-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.tool-limit {
    background: rgba(255, 122, 0, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.toolbox-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 122, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.feature-text strong {
    color: var(--accent);
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 0.9rem;
}

.feature-text span {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

.toolbox-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.toolbox-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.3);
}

.toolbox-primary:hover {
    background: var(--accent-alt);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 122, 0, 0.4);
}

.toolbox-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toolbox-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.toolbox-note {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.toolbox-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.toolbox-note strong {
    color: var(--accent);
    font-weight: 600;
}

/* Pricing Tier Filter */
.pricing-tier-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tier-btn {
    background: var(--card-bg);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: var(--secondary-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tier-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tier-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Agent Examples Grid - Based on Homepage Cards */
.agent-examples-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.agent-example-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px var(--card-shadow);
    opacity: 1;
    transform: translateY(0);
}

/* Color coding like homepage cards */
.agent-example-card:nth-child(1) { border-left: 4px solid var(--accent); }
.agent-example-card:nth-child(2) { border-left: 4px solid var(--accent-alt); }
.agent-example-card:nth-child(3) { border-left: 4px solid var(--text-muted); }
.agent-example-card:nth-child(4) { border-left: 4px solid var(--primary); }
.agent-example-card:nth-child(5) { border-left: 4px solid var(--accent); }
.agent-example-card:nth-child(6) { border-left: 4px solid var(--accent-alt); }
.agent-example-card:nth-child(7) { border-left: 4px solid var(--text-muted); }
.agent-example-card:nth-child(8) { border-left: 4px solid var(--primary); }

.agent-example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.agent-example-card:nth-child(1):hover { border-left-width: 8px; }
.agent-example-card:nth-child(2):hover { border-left-width: 8px; }
.agent-example-card:nth-child(3):hover { border-left-width: 8px; }
.agent-example-card:nth-child(4):hover { border-left-width: 8px; }
.agent-example-card:nth-child(5):hover { border-left-width: 8px; }
.agent-example-card:nth-child(6):hover { border-left-width: 8px; }
.agent-example-card:nth-child(7):hover { border-left-width: 8px; }
.agent-example-card:nth-child(8):hover { border-left-width: 8px; }

.agent-example-card.featured {
    background: var(--accent);
    color: var(--bg);
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.agent-example-card.featured::before {
    content: "✨ KOSTENLOS TESTEN";
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agent-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.agent-icon.fashion { background: linear-gradient(135deg, #ff6b9d, #c44569); }
.agent-icon.fintech { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.agent-icon.hr { background: linear-gradient(135deg, #45b7d1, #2980b9); }
.agent-icon.platform { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.agent-icon.sales { background: linear-gradient(135deg, #f39c12, #e67e22); }
.agent-icon.industrial { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.agent-icon.marketing { background: linear-gradient(135deg, #1abc9c, #16a085); }
.agent-icon.data { background: linear-gradient(135deg, #3498db, #2980b9); }

.card-title-area {
    flex: 1;
}

.card-title-area h3 {
    font-family: var(--secondary-font);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.3;
}

.tier-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tier-badge.starter {
    background: #27ae60;
    color: white;
}

.tier-badge.professional {
    background: #3498db;
    color: white;
}

.tier-badge.enterprise {
    background: #9b59b6;
    color: white;
}

.tier-badge.free {
    background: var(--accent);
    color: white;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(255, 122, 0, 0.5); }
    to { box-shadow: 0 0 15px rgba(255, 122, 0, 0.8); }
}

.card-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--bg-secondary);
    color: var(--text);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.card-metrics {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-metrics .metric {
    text-align: center;
    flex: 1;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.card-metrics .metric:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.card-metrics .metric-value {
    display: block;
    font-family: var(--main-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 122, 0, 0.2);
}

.card-metrics .metric-label {
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;
}

.free-tier-offer {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1) 0%, rgba(255, 122, 0, 0.05) 100%);
    border: 2px solid rgba(255, 122, 0, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.1);
}

.free-tier-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
    border-radius: 12px 12px 0 0;
}

.free-tier-offer h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: var(--secondary-font);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.free-tier-offer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text);
}

.free-tier-offer li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
    font-weight: 500;
}

.free-tier-offer li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 0.9rem;
}

.free-tier-offer li:last-child {
    margin-bottom: 0;
}

.card-action {
    width: 100%;
    background: var(--card-bg);
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: var(--secondary-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-action:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.card-action.primary {
    background: var(--accent);
    color: white;
}

.card-action.primary:hover {
    background: var(--accent-alt);
    transform: translateY(-2px);
}

/* Call to Action */
.agent-solutions-cta {
    text-align: center;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 2px solid var(--border);
    box-shadow: 0 8px 32px var(--card-shadow);
}

.agent-solutions-cta h3 {
    font-family: var(--secondary-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.agent-solutions-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--accent-red);
    color: var(--bg);
    border: 2px solid var(--accent-red);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--mono-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(211, 102, 0, 0.25);
}

.cta-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.cta-secondary {
    background: var(--accent);
    color: var(--bg);
    border: 2px solid var(--accent);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--mono-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-secondary:hover {
    background: var(--accent-alt);
    border-color: var(--accent-alt);
    color: var(--bg);
}

/* Network Tooltips */
.network-tooltip {
    position: absolute;
    background: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px var(--card-shadow);
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    animation: tooltipFadeIn 0.3s ease forwards;
}

@keyframes tooltipFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tooltip-content h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: var(--secondary-font);
    font-size: 0.9rem;
}

.tooltip-content p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tooltip-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.tooltip-metric {
    background: var(--accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--accent);
}

/* Agent Modal */
.agent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agent-modal.active {
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.agent-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text);
}

.modal-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    padding: 2rem;
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-family: var(--secondary-font);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    color: var(--accent);
    font-family: var(--secondary-font);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.modal-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.tech-detail-item {
    background: var(--bg-secondary);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.tech-detail-item strong {
    color: var(--text);
}

.implementation-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impl-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.impl-number {
    background: var(--accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.impl-content h4 {
    color: var(--text);
    font-family: var(--secondary-font);
    margin-bottom: 0.5rem;
}

.impl-content p {
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.modal-footer {
    background: var(--bg-secondary);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.modal-cta {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: var(--secondary-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.post-header-image {
    padding:0;
    margin:0;
    max-width:860px;
    margin: 0 auto;
}

.modal-cta:hover {
    background: var(--accent-alt);
    transform: translateY(-2px);
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-icon {
        font-size: 2.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .network-tooltip {
        max-width: 250px;
        padding: 0.8rem;
    }
    
    .impl-step {
        flex-direction: column;
        text-align: center;
    }
    
    .impl-number {
        margin: 0 auto 0.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-content h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--card-shadow);
    border-left: 4px solid var(--accent);
}

.testimonial-card:nth-child(2) {
    border-left-color: var(--accent-alt);
}

.testimonial-card:nth-child(3) {
    border-left-color: var(--text-muted);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--card-shadow);
    border-left-width: 8px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    font-family: var(--secondary-font);
    font-weight: 600;
    color: var(--text);
}

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

.company-size {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.testimonial-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.testimonial-metrics .metric {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 2px solid var(--border);
}

.stats-number {
    font-family: var(--main-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Mobile Responsive for Agent Solutions */
@media (max-width: 768px) {
    .agent-examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .agent-example-card {
        padding: 1.5rem;
    }
    
    .card-header {
        align-items: center;
    }
    
    .agent-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .card-title-area h3 {
        font-size: 1.1rem;
    }
    
    .card-metrics {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .card-metrics .metric {
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.5rem;
    }
    
    .card-metrics .metric:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* 3D Network Mobile Responsive */
    .network-3d-container {
        height: 400px;
        perspective: 800px;
    }
    
    .network-3d-scene {
        animation: sceneRotate 20s linear infinite;
    }
    
    .hub-node .node-core {
        width: 100px;
        height: 100px;
    }
    
    .hub-node .node-icon {
        font-size: 2rem;
    }
    
    .hub-node .node-label {
        font-size: 0.8rem;
    }
    
    .tool-node .node-core {
        width: 70px;
        height: 70px;
    }
    
    .tool-node .node-icon {
        font-size: 1.5rem;
    }
    
    .tool-node .node-label {
        font-size: 0.6rem;
    }
    
    .network-subnet {
        min-width: 140px;
        padding: 0.8rem;
    }
    
    .subnet-label {
        font-size: 0.7rem;
    }
    
    .subnet-node {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .mcp-hub-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .mcp-hub-cta.featured-cta {
        padding: 2rem;
        margin: 2rem 0 3rem 0;
    }
    
    .cta-content {
        min-width: auto;
    }
    
    .cta-content h4 {
        font-size: 1.2rem;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .cta-actions .cta-primary,
    .cta-actions .cta-secondary {
        flex: 1;
        max-width: 160px;
    }
    
    .pricing-tier-filter {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tier-btn {
        width: 200px;
        text-align: center;
    }
    
    .agent-solutions-cta {
        padding: 2rem 1.5rem;
    }
    
    .agent-solutions-cta h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* MCP Toolbox Mobile */
    .mcp-toolbox-section {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
    }
    
    .toolbox-header h3 {
        font-size: 1.6rem;
    }
    
    .toolbox-subtitle {
        font-size: 1rem;
    }
    
    .toolbox-description h4 {
        font-size: 1.1rem;
    }
    
    .toolbox-description p {
        font-size: 1rem;
    }
    
    .toolbox-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .tool-card {
        padding: 1.2rem;
    }
    
    .tool-icon {
        font-size: 2rem;
    }
    
    .toolbox-features {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .feature-highlight {
        gap: 0.8rem;
    }
    
    .toolbox-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .toolbox-primary,
    .toolbox-secondary {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Theme System Integration */
.tech-features span,
.cta-mega-primary,
.cta-primary.enhanced {
    background: var(--accent);
}


.network-node,
.floating-circuit,
.pulse-ring {
    border-color: var(--accent);
    background-color: var(--accent);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-accent,
    .highlight {
        text-shadow: none;
    }
    
    .network-node,
    .floating-circuit,
    .pulse-ring {
        border-width: 3px;
    }
    
    .tech-features span {
        border: 2px solid var(--accent);
    }
}

.cta-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-content {
        gap: 1.5rem;
    }
    
    .solution-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .roi-calculator {
        padding: 2rem;
        transform: none;
    }
    
    .roi-calculator:hover {
        transform: translateY(-4px);
    }
    
    .case-study-card {
        padding: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Header icon buttons (search/portal/theme) */
.search-toggle,
.portal-toggle {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover,
.portal-toggle:hover {
    transform: scale(1.1);
}

/* Global rocket path hiding */
.hide-rocket-path [stroke="#ff4444"],
.hide-rocket-path [stroke="#ff0000"], 
.hide-rocket-path [stroke="red"],
.hide-rocket-path path[stroke*="ff"],
.hide-rocket-path .rocket-path,
.hide-rocket-path *[stroke*="ff"] {
    stroke: transparent !important;
    stroke-width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}


/* Theme-specific customizations */
.theme-major-mono-display { --main-font: 'Major Mono Display', monospace; }

.theme-major-mono-display h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    letter-spacing: 0;
    line-height: 1.1;
}

.theme-pixelify-sans { 
    --main-font: 'Pixelify Sans', monospace; 
}

.theme-orbitron { --main-font: 'Orbitron', sans-serif; }
.theme-tiny5 { --main-font: 'Tiny5', monospace; }
.theme-silkscreen { --main-font: 'Silkscreen', monospace; }

.theme-silkscreen h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: 0;
}
.theme-red-hat-mono { 
    --main-font: 'Red Hat Mono', monospace; 
}

.theme-red-hat-mono h1 {
    font-weight: 700;
}

.theme-red-hat-mono h2 {
    font-weight: 600;
}

.theme-red-hat-mono h3 {
    font-weight: 600;
}

.theme-red-hat-mono .tagline {
    font-family: var(--secondary-font);
}
.theme-overpass-mono { 
    --main-font: 'Overpass Mono', monospace; 
}

.theme-overpass-mono h1 {
    font-weight: 700;
    text-transform: none;
}

.theme-overpass-mono h2 {
    font-weight: 700;
    text-transform: none;
}

.theme-overpass-mono h3 {
    font-weight: 600;
    text-transform: none;
}
.theme-jetbrains-mono { 
    --main-font: 'JetBrains Mono', monospace; 
}

.theme-jetbrains-mono h1 {
    font-weight: 800;
    font-style: italic;
    text-transform: none;
}

.theme-jetbrains-mono h2 {
    font-weight: 700;
    font-style: italic;
    text-transform: none;
}

.theme-jetbrains-mono h3 {
    font-weight: 600;
    font-style: italic;
    text-transform: none;
}
.theme-anonymous-pro { 
    --main-font: 'Anonymous Pro', monospace; 
}

.theme-anonymous-pro h1 {
    font-weight: 700;
    text-transform: none;
}

.theme-anonymous-pro .tagline {
    font-weight: 700;
    text-transform: none;
}
.theme-coral-pixels { --main-font: 'Coral Pixels', monospace; }
.theme-bytesized { 
    --main-font: 'Bytesized', monospace; 
    --secondary-font: 'Source Sans Pro', sans-serif;
    /* Organic Nature-Inspired Palette from Nano-Sonde */
    --primary: #2c3e50;
    --bg: #1a2332;
    --bg-secondary: #243140;
    --text: #2c3e50;
    --text-muted: #5a7a6b;
    --accent: #7fb069;
    --accent-alt: #4a90a4;
    --border: rgba(44, 62, 80, 0.2);
    --card-bg: rgba(248, 250, 249, 0.9);
    --card-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode - Organic Night Palette */
[data-theme="dark"].theme-bytesized {
    --primary: #a8c4a0;
    --bg: #0a0a18;
    --bg-secondary: #12121f;
    --text: #e8f4f0;
    --text-muted: #a8c4a0;
    --accent: #7fb069;
    --accent-alt: #5fb3d4;
    --border: rgba(95, 179, 212, 0.3);
    --card-bg: rgba(18, 18, 31, 0.8);
    --card-shadow: rgba(0, 0, 0, 0.3);
}

/* Bit-Welle Theme - Larger H1 with allcaps */
.theme-bytesized h1 {
    font-size: clamp(4rem, 16vw, 12rem);
    line-height: 0.8;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #e8f4f0;
}

/* All titles in allcaps */
.theme-bytesized h2,
.theme-bytesized h3,
.theme-bytesized h4,
.theme-bytesized .posts-header h2,
.theme-bytesized .email-title,
.theme-bytesized .section-header h2,
.theme-bytesized .card h3,
.theme-bytesized .values,
.theme-bytesized .card-special h4,
.theme-bytesized .about-content h2 {
    text-transform: uppercase;
}

/* Hero subtitle in secondary font - light text for dark bg */
.theme-bytesized .tagline {
    font-family: var(--secondary-font);
    font-size: clamp(1.2rem, 2.8vw, 2rem);
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #e8f4f0;
}
.theme-jersey-15 { --main-font: 'Jersey 15', sans-serif; }
.theme-jersey-10 { 
    --main-font: 'Jersey 10', sans-serif; 
    --secondary-font: 'Inter', sans-serif;
    /* Dark Sky Theme - Light Mode */
    --primary: #000;
    --bg: #1a2332;
    --bg-secondary: #2a3342;
    --text: #e8f4f0;
    --text-muted: #a3b3a3;
    --accent: #ff7a00;
    --accent-alt: #0479a6;
    --border: rgba(228, 244, 240, 0.2);
    --card-bg: rgba(42, 51, 66, 0.9);
    --card-shadow: rgba(0, 0, 0, 0.3);
}

/* Countdown Dark Mode */
[data-theme="dark"].theme-jersey-10 {
    --primary: #fff;
    --bg: #0a0a18;
    --bg-secondary: #1a1a28;
    --text: #e8f4f0;
    --text-muted: #a3b3a3;
    --accent: #ff7a00;
    --accent-alt: #0479a6;
    --border: rgba(228, 244, 240, 0.2);
    --card-bg: rgba(26, 26, 40, 0.9);
    --card-shadow: rgba(0, 0, 0, 0.4);
}

/* Countdown Theme - Light stars for dark sky */
.theme-jersey-10 .star {
    background: #e8f4f0 !important;
    opacity: 0.4;
}

[data-theme="dark"].theme-jersey-10 .star {
    opacity: 0.6;
}

/* Countdown Theme - Navigation styling for dark sky */
.theme-jersey-10 .nav {
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(228, 244, 240, 0.2);
}

[data-theme="dark"].theme-jersey-10 .nav {
    background: rgba(10, 10, 24, 0.95);
    border-bottom: 1px solid rgba(228, 244, 240, 0.2);
}

/* Countdown Theme - Jersey 10 with normalized sizing */
.theme-jersey-10 h1 {
    font-size: clamp(4rem, 16vw, 12rem);
    line-height: 0.75;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* All section headings normalized to same size */
.theme-jersey-10 .posts-header h2,
.theme-jersey-10 .email-title,
.theme-jersey-10 .section-header h2,
.theme-jersey-10 .card h3,
.theme-jersey-10 .values,
.theme-jersey-10 h2,
.theme-jersey-10 .card-special h4 {
    font-family: var(--main-font) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
}

/* WIR SIND T-0 same size as H1 hero title */
.theme-jersey-10 .about-content h2 {
    font-family: var(--main-font) !important;
    font-size: clamp(4rem, 16vw, 12rem) !important;
    line-height: 0.75;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* Main secondary font usage - normal size with more weight */
.theme-jersey-10 .tagline,
.theme-jersey-10 .nav-links a,
.theme-jersey-10 .post-title,
.theme-jersey-10 .posts-header p,
.theme-jersey-10 .email-subtitle,
.theme-jersey-10 .footer-links a,
.theme-jersey-10 .about-text {
    font-family: var(--secondary-font) !important;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem) !important;
    line-height: 1.4;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
}

/* Card content - same size across all cards with more weight */
.theme-jersey-10 .card-summary,
.theme-jersey-10 .card-special p {
    font-family: var(--secondary-font) !important;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem) !important;
    line-height: 1.4;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
}

/* Smaller content - post excerpts, details, meta info, notes */
.theme-jersey-10 .post-excerpt,
.theme-jersey-10 .post-meta,
.theme-jersey-10 .card-details p,
.theme-jersey-10 .email-note {
    font-family: var(--secondary-font) !important;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem) !important;
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
}

/* Brand treatment - same size as "Lösungen" */
.theme-jersey-10 .logo,
.theme-jersey-10 .brand-name {
    font-family: var(--main-font) !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

/* T-0 in "Wir sind T-0" should match the heading size, not brand size */
.theme-jersey-10 .about-content h2 .brand-name {
    font-size: inherit !important;
}

/* Countdown Theme - Light mode: dark text on light cards, keep dark sky */
.theme-jersey-10 .cards-section,
.theme-jersey-10 .posts-section,
.theme-jersey-10 .about-section,
.theme-jersey-10 .email-section,
.theme-jersey-10 .footer {
    --text: #1a2332;
    --text-muted: #4a5a6a;
    --card-bg: rgba(248, 250, 252, 0.95);
}

/* Countdown Theme - Dark mode: keep original light text and dark cards */
[data-theme="dark"].theme-jersey-10 .cards-section,
[data-theme="dark"].theme-jersey-10 .posts-section,
[data-theme="dark"].theme-jersey-10 .about-section,
[data-theme="dark"].theme-jersey-10 .email-section,
[data-theme="dark"].theme-jersey-10 .footer {
    --text: #e8f4f0;
    --text-muted: #a3b3a3;
    --card-bg: rgba(26, 26, 40, 0.9);
}

/* Countdown Theme - Fix button contrast - blue button */
.theme-jersey-10 .email-button {
    background: var(--accent-alt) !important;
    color: white !important;
    border: 2px solid var(--accent-alt) !important;
}

.theme-jersey-10 .email-button:hover {
    background: #035a80 !important;
    border-color: #035a80 !important;
}

/* Countdown Theme - Ensure all text elements use the section-specific text colors */
.theme-jersey-10 .posts-header h2,
.theme-jersey-10 .posts-header p,
.theme-jersey-10 .footer p,
.theme-jersey-10 .footer .brand-name,
.theme-jersey-10 .footer-logo,
.theme-jersey-10 .footer-section h4,
.theme-jersey-10 .footer-section a,
.theme-jersey-10 .footer-legal a,
.theme-jersey-10 .footer-tagline {
    color: var(--text) !important;
}

.theme-doto { --main-font: 'Doto', monospace; }
.theme-jersey-25 { --main-font: 'Jersey 25', sans-serif; }
.theme-micro-5 { 
    --main-font: 'Jersey 10', sans-serif; 
    --secondary-font: 'Inter', sans-serif;
    /* Organic Color Scheme - Light Mode */
    --primary: #000;
    --bg: #e8f4f0;
    --bg-secondary: #f0f8f4;
    --text: #1a2332;
    --text-muted: #4a5a52;
    --accent: #7fb069;
    --accent-alt: #4a90a4;
    --accent-red: #e74c3c;
    --border: rgba(127, 176, 105, 0.3);
    --card-bg: rgba(240, 248, 244, 0.9);
    --card-shadow: rgba(26, 35, 50, 0.1);
}

/* Organic Dark Mode */
[data-theme="dark"].theme-micro-5 {
    --primary: #fff;
    --bg: #0a0a18;
    --bg-secondary: #1a1a28;
    --text: #e8f4f0;
    --text-muted: #a3b3a3;
    --accent: #7fb069;
    --accent-alt: #4a90a4;
    --accent-red: #ff6b6b;
    --border: rgba(127, 176, 105, 0.3);
    --card-bg: rgba(26, 26, 40, 0.9);
    --card-shadow: rgba(0, 0, 0, 0.4);
}

/* Nano-Sonde Theme - Larger Titles with Serious Secondary Font */
.theme-micro-5 h1 {
    font-size: clamp(4rem, 16vw, 12rem);
    line-height: 0.75;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* Add dual offset shadows to H1 - light mode */
.theme-micro-5 h1 {
    color: var(--text) !important;
    text-shadow: 
        3px 3px 0 var(--accent-alt),
        6px 6px 0 var(--bg) !important;
}

/* Dark mode H1 - true inverse shadows */
[data-theme="dark"].theme-micro-5 h1 {
    color: var(--text) !important;
    text-shadow: 
        3px 3px 0 var(--bg),
        6px 6px 0 var(--accent-alt) !important;
}

.theme-micro-5 h2 {
    font-family: var(--main-font);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
}

/* All section headings sized exactly like "LÖSUNGEN" */
.theme-micro-5 .posts-header h2,
.theme-micro-5 .email-title,
.theme-micro-5 .section-header h2 {
    font-family: var(--main-font) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text) !important;
}

/* "WIR SIND T-0" same size as H1 hero title with dual offset shadows */
.theme-micro-5 .about-content h2 {
    font-family: var(--main-font) !important;
    font-size: clamp(4rem, 16vw, 12rem) !important;
    line-height: 0.75;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text) !important;
    text-shadow: 
        3px 3px 0 var(--accent),
        6px 6px 0 var(--bg) !important;
}

/* T-0 brand name in about heading keeps brand colors */
.theme-micro-5 .about-content h2 .brand-name {
    color: var(--accent-alt) !important;
}

/* Dark mode - light text with inverse dual shadows */
[data-theme="dark"].theme-micro-5 .about-content h2 {
    color: var(--text) !important;
    text-shadow: 
        3px 3px 0 var(--bg),
        6px 6px 0 var(--accent) !important;
}

[data-theme="dark"].theme-micro-5 .about-content h2 .brand-name {
    color: var(--accent-alt) !important;
}

/* Poll options background fix */
.theme-micro-5 .poll-option {
    background: var(--card-bg) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

/* Override Earth colors with original theme colors */
.theme-micro-5 {
    --earth-ocean: #0479a6;
    --earth-land: #ff7a00;
    --earth-atmosphere: rgba(4, 121, 166, 0.3);
}

/* Remove rocket path for full rocket glory - targeted only to rocket elements */
.theme-micro-5 .hero-wrapper .rocket-path,
.theme-micro-5 .hero-wrapper path[stroke="#ff4444"],
.theme-micro-5 .hero-wrapper path[stroke="#ff0000"],
.theme-micro-5 .hero-wrapper path[stroke="red"],
.theme-micro-5 .hero-wrapper svg path[stroke*="ff"] {
    stroke: transparent !important;
    stroke-width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Ensure Feather Icons are always visible and functional */
.theme-micro-5 [data-feather] {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline !important;
    stroke: currentColor !important;
}
.theme-micro-5 [data-feather] * {
    stroke: currentColor !important;
    stroke-width: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix Anmelden button contrast */
.theme-micro-5 .email-button {
    background: var(--accent-red) !important;
    color: var(--bg) !important;
    border: 2px solid var(--accent-red) !important;
    font-family: var(--secondary-font) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.theme-micro-5 .email-button:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    transform: translateY(-2px) !important;
}

/* Card headings - same size as "LÖSUNGEN" */
.theme-micro-5 .card h3 {
    font-family: var(--main-font) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* Values text - same size as "LÖSUNGEN" */
.theme-micro-5 .values {
    font-family: var(--main-font) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text) !important;
}

/* General H3 fallback - removed to fix card title sizing */

/* Hero subtitle with serious Inter - narrower on desktop */
.theme-micro-5 .tagline {
    font-family: var(--secondary-font);
    font-size: clamp(1.1rem, 2.8vw, 2rem);
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    max-width: 85%;
}

@media (max-width: 768px) {
    .theme-micro-5 .tagline {
        max-width: 100%;
    }
}

/* Center hero subtitle on desktop */
@media (min-width: 769px) {
    .theme-micro-5 .tagline {
        margin: 0 auto;
    }
}

/* Navigation links with secondary font */
.theme-micro-5 .nav-links a {
    font-family: var(--secondary-font);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    color: var(--text) !important;
}

/* Section subtitles in secondary font */
.theme-micro-5 .posts-header p,
.theme-micro-5 .email-subtitle {
    font-family: var(--secondary-font);
    font-weight: 400;
    text-transform: none;
}

/* Special Brand Treatment - Jersey 10 Font for ALL T-0 instances */
.theme-micro-5 .logo,
.theme-micro-5 .brand-name {
    font-family: var(--main-font) !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
    color: var(--accent-alt) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

.theme-micro-5 .logo {
    font-size: 4rem !important;
}

/* Brand name in tagline - slightly larger */
.theme-micro-5 .tagline .brand-name {
    font-size: 1em !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
}

/* Brand name in about section heading */
.theme-micro-5 .about-content h2 .brand-name {
    font-size: 1.2em !important;
}

/* Brand name in footer - slightly smaller but still prominent */
.theme-micro-5 .footer .brand-name {
    font-size: 1.3em !important;
}

/* Hover effects for brand names in content */
.theme-micro-5 .brand-name:hover,
.theme-micro-5 .logo:hover {
    color: var(--accent) !important;
    transform: scale(1.05) !important;
    letter-spacing: 0.15em !important;
}

/* Post titles - secondary font and proportional size */
.theme-micro-5 .post-title {
    font-family: var(--secondary-font) !important;
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
}

/* Special card headings (h4) - same size as other cards */
.theme-micro-5 .card-special h4 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.theme-jersey-20 { --main-font: 'Jersey 20', sans-serif; }
/* Contemporary Black & White Ultra Contrast Theme */
.theme-jacquarda-bastarda-9 { 
    --main-font: 'Jacquarda Bastarda 9', serif;
    --secondary-font: 'Inter', sans-serif;
}

/* Ultra Black & White - Light Mode */
.theme-jacquarda-bastarda-9 {
    --primary: #000000;
    --bg: #ffffff;
    --bg-secondary: #ffffff;
    --text: #000000;
    --text-muted: #333333;
    --accent: #000000;
    --accent-alt: #000000;
    --border: #000000;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.2);
}

/* Ultra White & Black - Dark Mode */
[data-theme="dark"].theme-jacquarda-bastarda-9 {
    --primary: #ffffff;
    --bg: #000000;
    --bg-secondary: #000000;
    --text: #ffffff;
    --text-muted: #cccccc;
    --accent: #ffffff;
    --accent-alt: #ffffff;
    --border: #ffffff;
    --card-bg: #000000;
    --card-shadow: rgba(255, 255, 255, 0.2);
}

/* Contemporary Headlines with Crazy Effects - No Caps */
.theme-jacquarda-bastarda-9 h1 {
    font-size: clamp(3rem, 12vw, 9rem);
    line-height: 1.0;
    font-weight: 400;
    text-transform: none;
    color: var(--text);
    position: relative;
    transition: all 0.4s ease;
    letter-spacing: -0.02em;
    text-shadow: 
        5px 5px 0 var(--bg);
}

.theme-jacquarda-bastarda-9 h1:hover {
    letter-spacing: 0.02em;
    transform: translateX(-10px) translateY(-10px);
    text-shadow: 
        15px 15px 0 var(--bg), 
        30px 30px 0 var(--text),
        45px 45px 0 var(--bg),
        60px 60px 0 var(--text);
}

.theme-jacquarda-bastarda-9 h2 {
    font-weight: 400;
    text-transform: none;
    color: var(--text);
    position: relative;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.theme-jacquarda-bastarda-9 h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--text);
    transition: width 0.3s ease;
}

.theme-jacquarda-bastarda-9 h2:hover::after {
    width: 100%;
}

.theme-jacquarda-bastarda-9 h3 {
    font-weight: 400;
    text-transform: none;
    color: var(--text);
    letter-spacing: -0.005em;
    transition: all 0.3s ease;
}

.theme-jacquarda-bastarda-9 h3:hover {
    letter-spacing: 0.02em;
}

/* Contemporary Tagline with Inter */
.theme-jacquarda-bastarda-9 .tagline {
    font-family: var(--secondary-font);
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Ultra Contrast Backgrounds */
.theme-jacquarda-bastarda-9 body {
    line-height: 1.8;
}

.theme-jacquarda-bastarda-9 body {
    background: var(--bg);
}

/* Section backgrounds with visibility */
.theme-jacquarda-bastarda-9 .cards-section {
    background: rgba(0, 0, 0, 0.03) !important;
    color: var(--text) !important;
}

[data-theme="dark"].theme-jacquarda-bastarda-9 .cards-section {
    background: rgba(255, 255, 255, 0.03) !important;
}

.theme-jacquarda-bastarda-9 .posts-section,
.theme-jacquarda-bastarda-9 .about-section {
    background: var(--bg) !important;
    color: var(--text) !important;
    position: relative;
}

/* Star background for bottom sections */
.theme-jacquarda-bastarda-9 .about-section::before,
.theme-jacquarda-bastarda-9 .email-section::before {
    content: '✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    opacity: 0.03;
    line-height: 4rem;
    pointer-events: none;
    z-index: 0;
    word-wrap: break-word;
    overflow: hidden;
}

.theme-jacquarda-bastarda-9 .email-section {
    background: var(--bg) !important;
    color: var(--text) !important;
    position: relative;
}

.theme-jacquarda-bastarda-9 .cards-section *,
.theme-jacquarda-bastarda-9 .posts-section *,
.theme-jacquarda-bastarda-9 .about-section *,
.theme-jacquarda-bastarda-9 .email-section * {
    color: var(--text) !important;
    position: relative;
    z-index: 1;
}

/* Simple black/white cards - no inversions */
.theme-jacquarda-bastarda-9 .card {
    background: var(--bg) !important;
    border: 3px solid var(--text) !important;
    color: var(--text) !important;
    transition: all 0.3s ease;
}

.theme-jacquarda-bastarda-9 .card *,
.theme-jacquarda-bastarda-9 .card h3,
.theme-jacquarda-bastarda-9 .card h4,
.theme-jacquarda-bastarda-9 .card p {
    color: var(--text) !important;
}

.theme-jacquarda-bastarda-9 .card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 8px 8px 0 var(--text) !important;
}

/* Special cards also follow same pattern */
.theme-jacquarda-bastarda-9 .card-special {
    background: var(--bg) !important;
    border: 3px solid var(--text) !important;
    color: var(--text) !important;
}

.theme-jacquarda-bastarda-9 .card-special *,
.theme-jacquarda-bastarda-9 .card-special h4,
.theme-jacquarda-bastarda-9 .card-special p {
    color: var(--text) !important;
}

/* Navigation with Inter */
.theme-jacquarda-bastarda-9 .nav-links a {
    font-family: var(--secondary-font);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.theme-jacquarda-bastarda-9 .nav-links a:hover {
    letter-spacing: 0.05em;
}

/* Force Black/White Earth for this theme */
.theme-jacquarda-bastarda-9 .hero-3d-scene,
.theme-jacquarda-bastarda-9 canvas {
    filter: grayscale(100%) contrast(200%) brightness(1.2) !important;
}

/* Dark mode - All sections pure black */
[data-theme="dark"].theme-jacquarda-bastarda-9 .cards-section,
[data-theme="dark"].theme-jacquarda-bastarda-9 .posts-section,
[data-theme="dark"].theme-jacquarda-bastarda-9 .about-section,
[data-theme="dark"].theme-jacquarda-bastarda-9 .email-section {
    background: #000000 !important;
}

[data-theme="dark"].theme-jacquarda-bastarda-9 .nav {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom-color: #ffffff !important;
}

[data-theme="dark"].theme-jacquarda-bastarda-9 .footer {
    background: #000000 !important;
    border-top-color: #ffffff !important;
}

/* Fix email button to be black/white */
.theme-jacquarda-bastarda-9 .email-button {
    background: var(--text) !important;
    color: var(--bg) !important;
    border: 3px solid var(--text) !important;
    font-family: var(--secondary-font) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    box-shadow: 5px 5px 0 var(--bg), 10px 10px 0 var(--text) !important;
    transition: all 0.3s ease !important;
}

.theme-jacquarda-bastarda-9 .email-button:hover {
    transform: translateX(-5px) translateY(-5px) !important;
    box-shadow: 10px 10px 0 var(--bg), 15px 15px 0 var(--text) !important;
}

.theme-jacquarda-bastarda-9 .email-input {
    background: var(--bg) !important;
    border: 3px solid var(--text) !important;
    color: var(--text) !important;
}

.theme-jacquarda-bastarda-9 .email-input:focus {
    border-color: var(--text) !important;
    box-shadow: 5px 5px 0 var(--text) !important;
}

/* Special Brand Treatment - Jersey 15 Font with Outline for ALL T-0 instances */
.theme-jacquarda-bastarda-9 .logo,
.theme-jacquarda-bastarda-9 .brand-name {
    font-family: 'Jersey 15', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--bg) !important;
    text-shadow: 
        -2px -2px 0 var(--text),
        2px -2px 0 var(--text),
        -2px 2px 0 var(--text),
        2px 2px 0 var(--text);
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

.theme-jacquarda-bastarda-9 .logo {
    font-size: 2.5rem !important;
    text-shadow: 
        -2px -2px 0 var(--text),
        2px -2px 0 var(--text),
        -2px 2px 0 var(--text),
        2px 2px 0 var(--text),
        -3px -3px 0 var(--text),
        3px -3px 0 var(--text),
        -3px 3px 0 var(--text),
        3px 3px 0 var(--text) !important;
}

.theme-jacquarda-bastarda-9 .logo:hover {
    letter-spacing: 0.3em !important;
    transform: scale(1.1) !important;
    text-shadow: 
        -3px -3px 0 var(--text),
        3px -3px 0 var(--text),
        -3px 3px 0 var(--text),
        3px 3px 0 var(--text),
        -5px -5px 0 var(--text),
        5px -5px 0 var(--text),
        -5px 5px 0 var(--text),
        5px 5px 0 var(--text) !important;
}

/* Brand name in tagline - slightly larger */
.theme-jacquarda-bastarda-9 .tagline .brand-name {
    font-size: 1.3em !important;
}

/* Brand name in about section heading */
.theme-jacquarda-bastarda-9 .about-content h2 .brand-name {
    font-size: 1.1em !important;
}

/* Brand name in footer - slightly smaller but still prominent */
.theme-jacquarda-bastarda-9 .footer .brand-name {
    font-size: 1.1em !important;
}

/* Hover effects for brand names in content */
.theme-jacquarda-bastarda-9 .brand-name:hover {
    letter-spacing: 0.25em !important;
    transform: scale(1.05) !important;
    text-shadow: 
        -2px -2px 0 var(--text),
        2px -2px 0 var(--text),
        -2px 2px 0 var(--text),
        2px 2px 0 var(--text),
        -3px -3px 0 var(--text),
        3px -3px 0 var(--text),
        -3px 3px 0 var(--text),
        3px 3px 0 var(--text) !important;
}

/* Load Jersey 15 font for this theme */
.theme-jacquarda-bastarda-9 {
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Jersey+15&display=swap');
.theme-jersey-10-charted { --main-font: 'Jersey 10 Charted', sans-serif; }
.theme-jersey-15-charted { --main-font: 'Jersey 15 Charted', sans-serif; }
/* Red Negative/Positive Theme - Light Mode (Positive) */
.theme-sixtyfour-convergence { 
    --main-font: 'Sixtyfour Convergence', sans-serif;
    --line-height: 1.8;
    --primary: #dc2626;
    --bg: #ffffff;
    --bg-secondary: #fef2f2;
    --text: #dc2626;
    --text-muted: #991b1b;
    --accent: #ef4444;
    --accent-alt: #b91c1c;
    --border: #fecaca;
    --card-bg: #fef2f2;
    --card-shadow: rgba(220, 38, 38, 0.1);
}

/* Red Positive Theme - Dark Mode (Full Red) */
[data-theme="dark"].theme-sixtyfour-convergence {
    --primary: #ffffff;
    --bg: #450a0a;
    --bg-secondary: #7f1d1d;
    --text: #ffffff;
    --text-muted: #fca5a5;
    --accent: #ef4444;
    --accent-alt: #dc2626;
    --border: #b91c1c;
    --card-bg: #7f1d1d;
    --card-shadow: rgba(239, 68, 68, 0.3);
}

/* Retro-Futurist Typography with Variable Font Effects */
.theme-sixtyfour-convergence h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "BLED" 15, "SCAN" 5, "XELA" 200, "YELA" 50;
    color: var(--text);
    text-shadow: 0 0 20px var(--accent), 0 2px 0 var(--accent-alt);
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
    text-align: center;
}

.theme-sixtyfour-convergence h1:hover {
    font-variation-settings: "BLED" 25, "SCAN" 10, "XELA" 300, "YELA" 80;
    text-shadow: 0 0 30px var(--accent), 0 3px 0 var(--accent-alt);
}

.theme-sixtyfour-convergence h2 {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "BLED" 8, "SCAN" 3, "XELA" 120, "YELA" 30;
    color: var(--text);
    text-shadow: 0 0 10px var(--accent);
    letter-spacing: 0.08em;
    transition: font-variation-settings 0.3s ease;
}

.theme-sixtyfour-convergence h2:hover {
    font-variation-settings: "BLED" 12, "SCAN" 5, "XELA" 150, "YELA" 40;
}

.theme-sixtyfour-convergence h3 {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "BLED" 5, "SCAN" 2, "XELA" 80, "YELA" 20;
    color: var(--text);
    text-shadow: 0 0 8px var(--accent);
    letter-spacing: 0.06em;
    transition: font-variation-settings 0.3s ease;
}

.theme-sixtyfour-convergence h3:hover {
    font-variation-settings: "BLED" 8, "SCAN" 3, "XELA" 100, "YELA" 25;
}

.theme-sixtyfour-convergence h4 {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "BLED" 3, "SCAN" 1, "XELA" 50, "YELA" 15;
    color: var(--text);
    letter-spacing: 0.04em;
}

.theme-sixtyfour-convergence .tagline {
    font-family: var(--secondary-font);
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    line-height: 1.6;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: none;
    text-shadow: 0 0 5px var(--accent);
}

/* Retro-futurist navigation effects */
.theme-sixtyfour-convergence .nav-links a {
    font-family: var(--main-font);
    font-variation-settings: "BLED" 2, "SCAN" 1, "XELA" 40, "YELA" 10;
    letter-spacing: 0.1em;
    text-transform: none;
    transition: all 0.3s ease;
}

.theme-sixtyfour-convergence .nav-links a:hover {
    font-variation-settings: "BLED" 5, "SCAN" 2, "XELA" 60, "YELA" 15;
    text-shadow: 0 0 10px var(--accent);
}

/* Logo with retro-futurist styling */
.theme-sixtyfour-convergence .logo {
    font-family: var(--main-font);
    font-variation-settings: "BLED" 10, "SCAN" 3, "XELA" 150, "YELA" 40;
    text-shadow: 0 0 15px var(--accent);
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
}

.theme-sixtyfour-convergence .logo:hover {
    font-variation-settings: "BLED" 15, "SCAN" 5, "XELA" 200, "YELA" 60;
    text-shadow: 0 0 25px var(--accent);
}

.theme-sixtyfour-convergence body {
    line-height: 1.8;
}

/* Light mode body background */
.theme-sixtyfour-convergence body {
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

/* Dark mode body background - full red positive */
[data-theme="dark"].theme-sixtyfour-convergence body {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 50%, #991b1b 100%);
}

/* Override any remaining blue/dark areas in dark mode */
[data-theme="dark"].theme-sixtyfour-convergence .nav {
    background: rgba(127, 29, 29, 0.95) !important;
    border-bottom-color: #b91c1c !important;
}

[data-theme="dark"].theme-sixtyfour-convergence .cards-section,
[data-theme="dark"].theme-sixtyfour-convergence .posts-section,
[data-theme="dark"].theme-sixtyfour-convergence .about-section,
[data-theme="dark"].theme-sixtyfour-convergence .email-section {
    background: rgba(127, 29, 29, 0.8) !important;
}

/* Light mode section backgrounds - more pronounced negative effect */
.theme-sixtyfour-convergence .cards-section,
.theme-sixtyfour-convergence .posts-section,
.theme-sixtyfour-convergence .about-section,
.theme-sixtyfour-convergence .email-section {
    background: rgba(254, 242, 242, 0.9) !important;
}

[data-theme="dark"].theme-sixtyfour-convergence .card {
    background: rgba(127, 29, 29, 0.8) !important;
    border-color: #b91c1c !important;
}

[data-theme="dark"].theme-sixtyfour-convergence .post {
    background: rgba(127, 29, 29, 0.8) !important;
    border-color: #b91c1c !important;
}

[data-theme="dark"].theme-sixtyfour-convergence .email-container {
    background: rgba(127, 29, 29, 0.9) !important;
    border-color: #dc2626 !important;
}

[data-theme="dark"].theme-sixtyfour-convergence .footer {
    background: rgba(127, 29, 29, 0.95) !important;
    border-top-color: #b91c1c !important;
}

/* Quantensprung - Enhanced Classic with Original Colors */
.theme-sixtyfour { 
    --main-font: 'Sixtyfour', monospace;
    --line-height: 1.8;
}

/* Light mode - keep original color scheme enhanced */
.theme-sixtyfour {
    --primary: #000;
    --bg: #fff;
    --bg-secondary: #f8f9fa;
    --text: #011824;
    --text-muted: #0479a6;
    --accent: #ff7a00;
    --accent-alt: #0479a6;
    --border: #e5e5e5;
    --card-bg: #fff;
    --card-shadow: rgba(0,0,0,0.12);
}

/* Dark mode - enhanced original dark colors */
[data-theme="dark"].theme-sixtyfour {
    --primary: #fff;
    --bg: #0a0a18;
    --bg-secondary: #011824;
    --text: #f0f0f0;
    --text-muted: #0479a6;
    --accent: #ff7a00;
    --accent-alt: #0479a6;
    --border: #1a1a2e;
    --card-bg: #011824;
    --card-shadow: rgba(255,122,0,0.15);
}

/* Enhanced Quantum Typography - Cool H1 with Dual-Color Effect */
.theme-sixtyfour h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--accent-alt) 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: quantum-flow 8s ease-in-out infinite;
    text-align: center;
}

.theme-sixtyfour h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--accent) 50%, transparent 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.theme-sixtyfour h1:hover {
    letter-spacing: 0.08em;
    background-position: 100% 50%;
    transform: perspective(300px) rotateX(5deg);
    filter: brightness(1.1);
}

.theme-sixtyfour h1:hover::before {
    opacity: 0.3;
    animation: quantum-shimmer 1s ease-in-out;
}

@keyframes quantum-flow {
    0%, 100% { 
        background-position: 0% 50%;
    }
    25% {
        background-position: 25% 25%;
    }
    50% { 
        background-position: 100% 50%;
    }
    75% {
        background-position: 75% 75%;
    }
}

@keyframes quantum-shimmer {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    50% { 
        opacity: 0.6;
    }
    100% { 
        transform: translateX(100%);
        opacity: 0;
    }
}

.theme-sixtyfour h2 {
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(255,122,0,0.2);
    transition: all 0.3s ease;
}

.theme-sixtyfour h2:hover {
    color: var(--text);
    letter-spacing: 0.06em;
}

.theme-sixtyfour h3 {
    font-weight: 400;
    color: var(--accent-alt);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.theme-sixtyfour h3:hover {
    color: var(--text);
    letter-spacing: 0.04em;
}

.theme-sixtyfour .tagline {
    font-family: var(--secondary-font);
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.theme-sixtyfour body {
    line-height: 1.8;
}

/* Enhanced card styling with original accent colors */
.theme-sixtyfour .card {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.theme-sixtyfour .card:nth-child(odd) {
    border-left-color: var(--accent);
}

.theme-sixtyfour .card:nth-child(even) {
    border-left-color: var(--accent-alt);
}

.theme-sixtyfour .card:hover {
    border-left-width: 8px;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--card-shadow);
}

/* Logo with subtle quantum effect */
.theme-sixtyfour .logo {
    font-family: var(--main-font);
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    position: relative;
}

.theme-sixtyfour .logo:hover {
    letter-spacing: 0.2em;
    color: var(--accent);
}

/* Navigation with quantum-inspired hover */
.theme-sixtyfour .nav-links a {
    font-family: var(--main-font);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: none;
    transition: all 0.3s ease;
    position: relative;
}

.theme-sixtyfour .nav-links a:hover {
    letter-spacing: 0.1em;
    color: var(--accent);
}

.theme-sixtyfour .nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    animation: quantum-pulse 0.6s ease-out;
}

@keyframes quantum-pulse {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0.7;
    }
}
.theme-rubik-broken-fax { --main-font: 'Rubik Broken Fax', sans-serif; }
.theme-vt323 { --main-font: 'VT323', monospace; }
.theme-handjet { 
    --main-font: 'Handjet', sans-serif; 
}

/* Ultra-dramatic fingerprint-inspired typography */
/* T-0 Typography Showcase - Variable Font Mastery */
.theme-handjet h1 {
    font-weight: 850;
    font-stretch: 140%;
    font-style: oblique 8deg;
    text-transform: none;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #f7f3f0 0%, #d4af37 50%, #f7f3f0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: liquid-shimmer 4s ease-in-out infinite;
    text-shadow: 
        0 0 30px rgba(212, 175, 55, 0.3),
        2px 2px 0 rgba(139, 10, 26, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.3);
    transform: perspective(800px) rotateX(-2deg) rotateY(1deg);
    transform-origin: center bottom;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-handjet h2 {
    font-weight: 700;
    font-stretch: 85%;
    font-style: oblique -5deg;
    text-transform: none;
    letter-spacing: 0.05em;
    color: #d4af37;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.4),
        1px 1px 0 rgba(139, 10, 26, 0.6);
    transform: skew(-1deg, 0.5deg);
    transition: font-stretch 0.3s ease, color 0.3s ease;
}

.theme-handjet h2:hover {
    font-stretch: 95%;
    color: #f7f3f0;
}

.theme-handjet h3 {
    font-weight: 500;
    font-stretch: 100%;
    font-style: oblique 2deg;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #f7f3f0;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: skew(-0.5deg, 0.2deg);
    transition: font-weight 0.3s ease;
}

.theme-handjet h3:hover {
    font-weight: 600;
}

.theme-handjet h4 {
    font-weight: 450;
    font-stretch: 105%;
    font-style: oblique -2deg;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #a8b2c8;
    transform: skew(0.2deg, -0.1deg);
}

.theme-handjet .tagline {
    font-family: var(--main-font);
    font-weight: 300;
    font-stretch: 75%;
    font-style: oblique 0deg;
    letter-spacing: 0.15em;
    text-transform: none;
    color: #a8b2c8;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    transform: skew(0.5deg, -0.2deg);
    opacity: 0.95;
    transition: all 0.4s ease;
}

@keyframes liquid-shimmer {
    0%, 100% { 
        background-position: 0% 50%;
        font-stretch: 140%;
    }
    50% { 
        background-position: 100% 50%;
        font-stretch: 145%;
    }
}

/* Enhanced hover effects for typography showcase */
.theme-handjet h1:hover {
    font-stretch: 150%;
    font-style: oblique 12deg;
    transform: perspective(800px) rotateX(-3deg) rotateY(2deg) scale(1.02);
    text-shadow: 
        0 0 40px rgba(212, 175, 55, 0.5),
        3px 3px 0 rgba(139, 10, 26, 1),
        6px 6px 12px rgba(0, 0, 0, 0.5);
}

/* Pronounced UI slanting for complete fingerprint distortion effect */
.theme-handjet .card {
    transform: skew(-1.2deg, 0.4deg);
    transition: transform 0.3s ease;
}

.theme-handjet .card:hover {
    transform: skew(-1.8deg, 0.7deg) translateY(-2px);
}

.theme-handjet .nav {
    transform: skew(0.8deg, -0.3deg);
}

.theme-handjet .email-container {
    transform: skew(-1deg, 0.4deg);
}

.theme-handjet .post {
    transform: skew(0.6deg, -0.2deg);
}

.theme-handjet .post:hover {
    transform: skew(1.2deg, -0.4deg) translateY(-2px);
}

.theme-handjet .cards-section {
    transform: skew(0.2deg, -0.1deg);
}

.theme-handjet .posts-section {
    transform: skew(-0.3deg, 0.15deg);
}

.theme-handjet .about-section {
    transform: skew(0.4deg, -0.2deg);
}

/* Advanced Glass Morphism UI Elements */
.theme-handjet .posts-section,
.theme-handjet .cards-section,
.theme-handjet .about-section,
.theme-handjet .email-section {
    background: rgba(15, 29, 53, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.theme-handjet .post {
    background: rgba(15, 29, 53, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(247, 243, 240, 0.03);
}

.theme-handjet .post:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(15, 29, 53, 0.7);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(247, 243, 240, 0.05);
}

.theme-handjet .email-container {
    background: rgba(15, 29, 53, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 16px 64px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(212, 175, 55, 0.1),
        inset 0 2px 0 rgba(247, 243, 240, 0.05);
}

.theme-handjet .nav-links a {
    font-family: var(--main-font);
    font-weight: 400;
    font-stretch: 100%;
    transition: font-stretch 0.3s ease, color 0.3s ease;
}

.theme-handjet .nav-links a:hover {
    font-stretch: 110%;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Premium Button & Interactive Element Styling */
.theme-handjet .email-button {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border: none;
    color: #0a1628;
    font-family: var(--main-font);
    font-weight: 600;
    font-stretch: 110%;
    text-transform: none;
    letter-spacing: 0.1em;
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.3),
        inset 0 2px 0 rgba(247, 243, 240, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-handjet .email-button:hover {
    font-stretch: 120%;
    transform: translateY(-1px);
    box-shadow: 
        0 12px 48px rgba(212, 175, 55, 0.4),
        0 4px 16px rgba(212, 175, 55, 0.2),
        inset 0 2px 0 rgba(247, 243, 240, 0.3);
}

.theme-handjet .email-input {
    background: rgba(15, 29, 53, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.2);
    color: #f7f3f0;
    backdrop-filter: blur(8px);
}

.theme-handjet .email-input:focus {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 
        0 0 0 1px rgba(212, 175, 55, 0.3),
        0 4px 16px rgba(212, 175, 55, 0.1);
}

/* Interactive Font Variation Animations - T-0 Signature Effects */
.theme-handjet .logo {
    font-family: var(--main-font);
    font-weight: 700;
    font-stretch: 120%;
    font-style: oblique 5deg;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.theme-handjet .logo:hover {
    font-weight: 800;
    font-stretch: 140%;
    font-style: oblique 10deg;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

/* Dynamic text effects for special cards */
.theme-handjet .card-special {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.9) 0%, 
        rgba(139, 10, 26, 0.8) 100%);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(247, 243, 240, 0.2);
}

.theme-handjet .card-special h4 {
    font-family: var(--main-font);
    font-weight: 600;
    font-stretch: 105%;
    font-style: oblique 3deg;
    color: #f7f3f0;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.theme-handjet .card-special:hover h4 {
    font-weight: 700;
    font-stretch: 115%;
    font-style: oblique 6deg;
}

/* Breathing animation for the main title */
.theme-handjet h1 {
    animation: liquid-shimmer 4s ease-in-out infinite, title-breathe 8s ease-in-out infinite;
}

@keyframes title-breathe {
    0%, 100% { 
        font-weight: 850;
        transform: perspective(800px) rotateX(-2deg) rotateY(1deg) scale(1);
    }
    50% { 
        font-weight: 880;
        transform: perspective(800px) rotateX(-2.5deg) rotateY(1.2deg) scale(1.005);
    }
}

/* Subtle pulsing for interactive elements */
.theme-handjet .theme-toggle,
.theme-handjet .theme-switcher-toggle {
    transition: all 0.3s ease;
    font-family: var(--main-font);
}

.theme-handjet .theme-toggle:hover,
.theme-handjet .theme-switcher-toggle:hover {
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.15) rotate(5deg);
}

/* T-0 Signature "Liquid Metal" Color Palette - Light Mode */
.theme-handjet {
    --primary: #0a1628;
    --bg: #f7f3f0;
    --bg-secondary: #e8e4df;
    --text: #0a1628;
    --text-muted: #4a5568;
    --accent: #d4af37;
    --accent-alt: #8b0a1a;
    --border: #c5b8a5;
    --card-bg: #ffffff;
    --card-shadow: rgba(212, 175, 55, 0.15);
}

/* T-0 Signature "Liquid Metal" Color Palette - Dark Mode */
[data-theme="dark"].theme-handjet {
    --primary: #f7f3f0;
    --bg: #0a1628;
    --bg-secondary: #0f1d35;
    --text: #f7f3f0;
    --text-muted: #a8b2c8;
    --accent: #d4af37;
    --accent-alt: #8b0a1a;
    --border: #1e3a5f;
    --card-bg: #0f1d35;
    --card-shadow: rgba(212, 175, 55, 0.15);
}

/* Light mode background */
.theme-handjet body {
    background: linear-gradient(135deg, #f7f3f0 0%, #e8e4df 50%, #ddd6c9 100%);
}

/* Dark mode background */
[data-theme="dark"].theme-handjet body {
    background: linear-gradient(135deg, #0a1628 0%, #0f1d35 50%, #142a42 100%);
}

/* Light mode navigation */
.theme-handjet .nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Dark mode navigation */
[data-theme="dark"].theme-handjet .nav {
    background: rgba(15, 29, 53, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(10, 22, 40, 0.8);
}

/* Light mode cards */
.theme-handjet .card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.theme-handjet .card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Dark mode cards */
[data-theme="dark"].theme-handjet .card {
    background: rgba(15, 29, 53, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(247, 243, 240, 0.05);
}

[data-theme="dark"].theme-handjet .card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(247, 243, 240, 0.1);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .email-form {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 18rem);
        margin-left: auto;
        margin-right: auto;
    }

    .email-form .email-input {
        flex: none;
        width: 100%;
    }

    .email-form .email-button {
        width: 100%;
    }

    .cards-container {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }
    
    .cards-container > * {
        grid-area: auto;
    }
    
    .posts-container {
        grid-template-columns: 1fr;
    }
    
    .rocket-scroll {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 70px;
    }
    
    .mini-rocket {
        width: 28px;
        height: 42px;
    }
    
    .card-special {
        margin-top: 0;
    }
}

/* Collapsible MCP Toolbox Section */
.mcp-toolbox-section {
    margin: 4rem auto;
    max-width: 1200px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.toolbox-header {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
    color: var(--text);
    border-bottom: 2px solid var(--accent);
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toolbox-header:hover {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--card-shadow);
    border-bottom-color: var(--accent-alt);
}

.toolbox-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.toolbox-title h3 {
    color: var(--text);
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

.toolbox-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.06);
}

.toolbox-toggle:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: scale(1.1);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.mcp-toolbox-section.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.toolbox-subtitle {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.collapsible-content {
    max-height: 2000px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.mcp-toolbox-section.collapsed .collapsible-content {
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    padding-top: 0;
    padding-bottom: 0;
}

/* Enhanced animation on expand */
.mcp-toolbox-section:not(.collapsed) .collapsible-content {
    animation: expandContent 0.4s ease-out;
}

@keyframes expandContent {
    0% {
        max-height: 0;
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure toolbox content has proper styling */
.toolbox-content {
    padding: 2rem;
}

.toolbox-description h4 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.toolbox-description p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .collapsible-content,
    .toggle-icon,
    .toolbox-header {
        transition: none;
    }
    
    .mcp-toolbox-section:not(.collapsed) .collapsible-content {
        animation: none;
    }
}

/* Placeholder Tool Cards */
.tool-card.placeholder {
    opacity: 0.7;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    border: 2px dashed var(--border);
    position: relative;
    overflow: visible;
}

.tool-card.placeholder:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.coming-soon {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: comingSoonPulse 2s ease-in-out infinite;
}

@keyframes comingSoonPulse {
    0%, 100% {
        background: var(--accent);
        transform: scale(1);
    }
    50% {
        background: var(--accent-alt);
        transform: scale(1.05);
    }
}

.placeholder-limit {
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
    font-style: italic;
}

.tool-card.placeholder .tool-icon {
    filter: grayscale(30%);
    opacity: 0.8;
}

.tool-card.placeholder h5 {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tool-card.placeholder p {
    color: var(--text-muted);
    opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .toolbox-header {
        padding: 1.5rem;
    }
    
    .toolbox-content {
        padding: 1.5rem;
    }
    
    .toolbox-title h3 {
        font-size: 1.3rem;
    }
    
    .toolbox-toggle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
    
    .coming-soon {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.3rem;
        margin-top: 0.2rem;
    }
    
    .tool-card.placeholder h5 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* KI-Schulungen Specific Sections */

/* Skill Assessment Section */
.skill-assessment-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.assessment-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Learning Paths Section */
.learning-paths-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.learning-paths-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Training Programs Section */
.training-programs-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.training-programs-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Instructor Section */
.instructor-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.instructor-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Community Section */
.community-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.community-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.faq-items.inline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-faq .faq-item {
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    box-shadow: none;
    border-top: 1px solid var(--border);
}

.about-faq .faq-item p {
    margin-bottom:0!important;

}

.about-faq .faq-item h4 {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.about-faq .faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .about-faq h3 {
        text-align: center;
    }
}

.about-faq .faq-item:first-of-type {
    border-top: none;
}

.about-faq .faq-item:last-of-type {
    border-bottom: none;
}

.cards-grid--two-tier {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.solution-card--primary {
    --solution-accent: var(--accent-red);
    border-left: 6px solid var(--accent-red);
    border-color: var(--accent-red);
    border-left: 6px solid color-mix(in srgb, var(--solution-accent) 65%, transparent);
    border-color: color-mix(in srgb, var(--solution-accent) 35%, transparent);
}

/* Ensure warm accent border in light mode for primary card */
[data-theme="light"] .cards-variant-classic .solution-card--primary {
    border-color: color-mix(in srgb, var(--solution-accent) 35%, transparent);
    border-left-color: color-mix(in srgb, var(--solution-accent) 65%, transparent);
}

.solution-card--primary .solution-card__highlight {
    border: 1px solid rgba(211, 102, 0, 0.35);
    background: rgba(211, 102, 0, 0.12); /* warm accent tint in light mode */
}

/* Dark mode: slightly stronger warm accent tint for primary highlight */
[data-theme="dark"] .solution-card--primary .solution-card__highlight {
    border-color: rgba(211, 102, 0, 0.45);
    background: rgba(211, 102, 0, 0.18);
}

.solution-card--primary .solution-card__cta {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #1a2332 !important;
}

.solution-card--primary .solution-card__highlight-content h4 {
    color: var(--accent-red);
}

.solution-card-stack {
    display: grid;
    gap: 2rem;
    align-self: start;
}

.solution-card__cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.solution-card__cta-note {
    font-family: var(--mono-font);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.75;
}

[data-theme="light"] .cards-variant-classic .solution-card__cta-note {
    color: #1a2332;
    opacity: 0.65;
}

@media (max-width: 960px) {
    .cards-grid--two-tier {
        grid-template-columns: 1fr;
    }

    .solution-card-stack {
        order: -1;
    }
}

@media (max-width: 720px) {
    .cards-grid--two-tier {
        display: flex;
        flex-direction: column;
    }

    .solution-card--primary {
        order: 3;
    }

    .solution-card-stack {
        order: 1;
    }

    .solution-card-stack article:first-child {
        order: 2;
    }

    .solution-card-stack article:last-child {
        order: 1;
    }

    .solution-card__cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .solution-card__cta {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
    }

    .solution-card__cta-note {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-group .cta-primary,
    .cta-group .cta-secondary {
        width: 100%;
        text-align: center;
        display: inline-flex;
        justify-content: center;
    }
}
@media (orientation: portrait) and (min-width: 1025px) and (max-width: 1366px) {
    .hero {
        padding: 6rem 3rem 2.5rem;
        overflow: hidden;
    }

    .hero canvas#root,
    .hero .hero-particles {
        width: 100%;
        left: 0;
        transform: none;
    }

    .hero .hero-content {
        transform: none;
    }

    .hero h1 {
        font-size: clamp(3.6rem, 6.2vw, 8.8rem);
    }
}

.theme-t0-default .post-template .post-content__surface,
.theme-t0-default .post-template .post-media.content-surface {
    color: #1a2332;
}

[data-theme="dark"].theme-t0-default .post-template .post-content__surface,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface {
    color: var(--text);
}

.theme-t0-default .post-template .post-content__surface h1,
.theme-t0-default .post-template .post-content__surface h2,
.theme-t0-default .post-template .post-content__surface h3,
.theme-t0-default .post-template .post-content__surface h4,
.theme-t0-default .post-template .post-content__surface h5,
.theme-t0-default .post-template .post-content__surface h6,
.theme-t0-default .post-template .post-media.content-surface h1,
.theme-t0-default .post-template .post-media.content-surface h2,
.theme-t0-default .post-template .post-media.content-surface h3,
.theme-t0-default .post-template .post-media.content-surface h4,
.theme-t0-default .post-template .post-media.content-surface h5,
.theme-t0-default .post-template .post-media.content-surface h6 {
    color: #0f1923;
}

[data-theme="dark"].theme-t0-default .post-template .post-content__surface h1,
[data-theme="dark"].theme-t0-default .post-template .post-content__surface h2,
[data-theme="dark"].theme-t0-default .post-template .post-content__surface h3,
[data-theme="dark"].theme-t0-default .post-template .post-content__surface h4,
[data-theme="dark"].theme-t0-default .post-template .post-content__surface h5,
[data-theme="dark"].theme-t0-default .post-template .post-content__surface h6,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface h1,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface h2,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface h3,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface h4,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface h5,
[data-theme="dark"].theme-t0-default .post-template .post-media.content-surface h6 {
    color: var(--text);
}
