:root {
    --bg-dark: #0f111a;
    --bg-darker: #090a0f;
    --bg-alt: #161925;
    --primary: #00ffcc;
    --primary-hover: #00ccaa;
    --accent: #ff007f;
    --text-main: #ffffff;
    --text-muted: #8b92a5;

    --glass-bg: rgba(15, 17, 26, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    --terminal-red: #ff5f56;
    --terminal-yellow: #ffbd2e;
    --terminal-green: #27c93f;

    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

[data-theme="light"] {
    --bg-dark: #f8f9fa;
    --bg-darker: #f4f6f8;
    --bg-alt: #e2e6ea;
    --primary: #0077ff;
    --primary-hover: #005ce6;
    --accent: #ff007f;
    --text-main: #212529;
    --text-muted: #6c757d;

    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

[data-theme="linux"] {
    --bg-dark: #300a24;
    --bg-darker: #2c001e;
    --bg-alt: #5e2750;
    --primary: #e95420;
    --primary-hover: #dd4814;
    --accent: #aea79f;
    --text-main: #ffffff;
    --text-muted: #e5e5e5;

    --glass-bg: rgba(48, 10, 36, 0.75);
    --glass-border: rgba(233, 84, 32, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] {
    --bg-dark: #050505;
    --bg-darker: #000000;
    --bg-alt: #0a0a0a;
    --primary: #00ff00;
    --primary-hover: #00cc00;
    --accent: #00ffcc;
    --text-main: #e0e0e0;
    --text-muted: #888888;

    --glass-bg: rgba(5, 5, 5, 0.8);
    --glass-border: rgba(0, 255, 0, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Mesh Gradient (Glassmorphism Base) */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 255, 204, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 127, 0.05), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
}

/* Typography & Links */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Navigation */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

nav a:not(.btn-primary):hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.2);
}

.btn-primary:hover {
    background: var(--text-main);
    color: var(--bg-darker);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glass-shadow);
}

/* Hero Section */
.hero-section {
    padding: 10rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.centered-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.centered-hero .hero-subtitle {
    margin: 0 auto 2.5rem;
}

.centered-hero .cta-group {
    justify-content: center;
}

.centered-hero .code-window {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.reverse {
    direction: rtl;
}

.reverse>* {
    direction: ltr;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.platforms-mini {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    opacity: 0.7;
}

/* Floating Mockups */
.hero-visual,
.section-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-mockup {
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-mockup {
    width: 85%;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.secondary-mockup {
    width: 60%;
    position: absolute;
    bottom: -10%;
    right: -5%;
    z-index: 3;
    transform: perspective(1000px) rotateY(-5deg) translateZ(50px);
}

.large-mockup {
    width: 55%;
    max-width: 320px;
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.hero-visual:hover .main-mockup,
.section-visual:hover .large-mockup {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-visual:hover .secondary-mockup {
    transform: perspective(1000px) rotateY(0deg) translateZ(60px) scale(1.05);
}

/* Feature Sections */
.feature-section {
    padding: 8rem 0;
}

.alt-bg {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.enterprise-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.enterprise-list li {
    font-size: 1.05rem;
    position: relative;
    padding-left: 2rem;
}

.enterprise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-family: var(--font-mono);
}

.enterprise-list strong {
    color: var(--text-main);
}

/* Terminal / Code Window */
.code-window {
    width: 90%;
    overflow: hidden;
}

.terminal-header {
    background: var(--bg-alt);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: var(--terminal-red);
}

.dot.yellow {
    background: var(--terminal-yellow);
}

.dot.green {
    background: var(--terminal-green);
}

.terminal-header .title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.code-window pre {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
    color: var(--text-main);
}

.code-window .prompt {
    color: var(--primary);
}

.code-window .text-muted {
    color: var(--text-muted);
}

.code-window .text-green {
    color: var(--terminal-green);
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-container h2 {
    padding: 2.5rem 2.5rem 0;
    text-align: center;
    font-size: 2.5rem;
}

.contact-form {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.2);
    background: var(--bg-alt);
}

.submit-btn {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1rem;
}

.form-status {
    padding: 0 2.5rem 2.5rem;
    text-align: center;
}

/* Screenshot Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 3rem;
    padding: 3rem 4rem;
    scrollbar-width: none;
    /* Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-img {
    height: 400px;
    width: auto;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, box-shadow 0.4s ease;
    opacity: 0.4;
    transform: scale(0.9);
}

.gallery-img.active {
    opacity: 1;
    transform: scale(1.2) translateY(-20px);
    box-shadow: 0 30px 60px rgba(0, 255, 204, 0.35);
    z-index: 10;
    position: relative;
    border: 1px solid rgba(0, 255, 204, 0.6);
}

.gallery-img:hover {
    opacity: 1;
    transform: scale(1.25) translateY(-25px);
    box-shadow: 0 35px 70px rgba(0, 255, 204, 0.45);
}

/* Typewriter Animation */
@keyframes blink-caret {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter-text-inline {
    animation: blink-caret 1s step-end infinite;
    color: var(--primary);
}

/* Footer */
.glass-footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #11141d, #05070a);
    padding: 5rem 2rem 2rem;
    color: #f0f0f0;
    overflow: hidden;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 150%, var(--primary), transparent 40%),
        radial-gradient(circle at 85% 150%, var(--accent), transparent 40%);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.glass-footer > * {
    position: relative;
    z-index: 1;
}

.glass-footer a {
    color: #94a3b8 !important;
}

.glass-footer a:hover {
    color: #ffffff !important;
}

.glass-footer h4, .glass-footer .footer-brand span {
    color: #ffffff !important;
}

.glass-footer .footer-brand p {
    color: #94a3b8 !important;
}

.multi-col-footer {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

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

.link-group h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

/* -------------------------------------
   Responsive Design
------------------------------------- */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .main-mockup {
        width: 100%;
        transform: none !important;
    }

    .secondary-mockup {
        display: none;
    }

    .large-mockup {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }

    nav ul.mobile-open {
        display: flex;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .multi-col-footer {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* -------------------------------------
   Documentation Shell Styling
------------------------------------- */

.docs-main {
    padding: 10rem 2rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
    min-height: calc(100vh - 100px);
}

.docs-container {
    width: 100%;
}

.docs-content {
    padding: 4rem;
    font-family: var(--font-sans);
    color: var(--text-muted);
}

.docs-content.loaded {
    animation: fadeIn 0.5s ease-in;
}

.docs-content h1,
.docs-content h2,
.docs-content h3 {
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.docs-content h1 {
    font-size: 2.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.docs-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.docs-content ul,
.docs-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.docs-content li {
    margin-bottom: 0.5rem;
}

.docs-content code {
    background: var(--glass-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.9em;
}

.docs-content pre {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.docs-content pre code {
    background: transparent;
    padding: 0;
    color: var(--text-main);
}

.docs-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 1.5rem 0;
    color: var(--text-main);
    background: rgba(0, 255, 204, 0.05);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.docs-content th,
.docs-content td {
    padding: 1rem;
    border: 1px solid var(--glass-border);
    text-align: left;
}

.docs-content th {
    background: var(--glass-bg);
    color: var(--text-main);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loader {
    font-family: var(--font-mono);
    color: var(--primary);
    animation: blink-caret 1s infinite;
}

/* Visibility Helper for Scroll Animations */
.glass-panel.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Social Proof Banner */
.social-proof {
    background: rgba(0, 255, 204, 0.05);
    border-top: 1px solid rgba(0, 255, 204, 0.1);
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary);
    font-family: var(--font-mono);
    width: 100%;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grid-card {
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.grid-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

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

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    background: var(--glass-bg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item .faq-content {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--glass-border);
    font-size: 1rem;
}

/* Responsive layout for the new footer and contact */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .contact-section .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr !important;
    }
}

/* --- Back to Top Button --- */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,255,204,0.3);
}
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,255,204,0.5);
}

/* --- Cookie Consent Banner --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-alt);
    border-top: 1px solid var(--glass-border);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    backdrop-filter: blur(16px);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
#cookie-banner.visible {
    transform: translateY(0);
}
#cookie-banner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
    min-width: 200px;
}
#cookie-banner p a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-btn-accept {
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-btn-accept:hover { background: var(--primary-hover); }
.cookie-btn-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn-decline:hover { color: var(--text-main); border-color: var(--text-muted); }

.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

.platform-icons a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

/* --- Pricing UI --- */
.toggles-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
}

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

.pricing-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-light);
}

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

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--primary);
    margin-top: 3px;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

.pricing-table-container {
    overflow-x: auto;
    margin-top: 4rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
    background: rgba(10, 10, 10, 0.9);
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: bold;
    color: var(--text-light);
}

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

.table-check {
    color: var(--primary);
}

.table-cross {
    color: var(--text-muted);
    opacity: 0.5;
}

@media (max-width: 900px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* --- Enterprise Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.bento-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 255, 204, 0.15);
    border-color: rgba(0, 255, 204, 0.3);
}

.bento-card .bento-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 16px;
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.bento-card.span-2 {
    grid-column: span 2;
}

.bento-card.span-3 {
    grid-column: span 3;
}

.bento-features {
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.bento-features li i {
    color: var(--primary);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.span-3 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-2,
    .bento-card.span-3 {
        grid-column: span 1;
    }
}

/* --- Enterprise Workflow Animation --- */
.workflow-section {
    margin: 6rem 0;
    padding: 4rem 2rem;
    background: var(--bg-alt);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

/* The connecting line behind the steps */
.workflow-container::before {
    content: '';
    position: absolute;
    top: 30px;
    /* middle of the 60px circle */
    left: 5%;
    right: 5%;
    height: 4px;
    background: var(--glass-border);
    z-index: -1;
    border-radius: 2px;
}

/* Animated progressing line */
.workflow-container::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    width: 90%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #00ffcc);
    z-index: -1;
    border-radius: 2px;
    transform-origin: left;
    animation: flowProgress 8s infinite ease-in-out;
}

@keyframes flowProgress {
    0% {
        transform: scaleX(0);
        opacity: 0.5;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(0);
        opacity: 0.5;
        transform-origin: right;
    }
}

.workflow-step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
    transition: transform 0.3s ease;
}

.workflow-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
    background: var(--primary);
    color: var(--bg-dark);
}

.workflow-step h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

@media (max-width: 900px) {
    .workflow-container {
        flex-direction: column;
        gap: 3rem;
    }

    .workflow-container::before,
    .workflow-container::after {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }

    .workflow-container::after {
        animation: flowProgressVert 8s infinite ease-in-out;
    }
}

@keyframes flowProgressVert {
    0% {
        transform: translateX(-50%) scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: translateX(-50%) scaleY(1);
        transform-origin: top;
    }

    100% {
        transform: translateX(-50%) scaleY(0);
        transform-origin: bottom;
    }
}

/* --- ZTNA Diagram --- */
.ztna-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.ztna-node {
    flex: 1;
    text-align: center;
    z-index: 2;
    background: var(--glass-bg);
    padding: 2rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.ztna-node.relay {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
    transform: scale(1.05);
}

.ztna-node i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.ztna-node.relay i {
    color: var(--primary);
}

.ztna-connection {
    flex: 1;
    height: 4px;
    background: var(--glass-border);
    position: relative;
    z-index: 1;
}

.data-packet {
    position: absolute;
    top: -3px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: movePacket 2s infinite linear;
}

.data-packet.reverse {
    animation: movePacketRev 2.5s infinite linear;
}

@keyframes movePacket {
    0% {
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes movePacketRev {
    0% {
        left: 100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 0;
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .ztna-diagram {
        flex-direction: column;
        gap: 3rem;
    }

    .ztna-connection {
        width: 4px;
        height: 100px;
    }

    .data-packet {
        top: 0;
        left: -3px;
        animation: movePacketVert 2s infinite linear;
    }

    .data-packet.reverse {
        animation: movePacketVertRev 2.5s infinite linear;
    }
}

@keyframes movePacketVert {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes movePacketVertRev {
    0% {
        top: 100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 0;
        opacity: 0;
    }
}

/* --- B2B2C Funnel --- */
.funnel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.funnel-step {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.funnel-step:nth-child(1) {
    width: 100%;
}

.funnel-step:nth-child(2) {
    width: 85%;
}

.funnel-step:nth-child(3) {
    width: 70%;
    border-color: rgba(0, 255, 204, 0.3);
}

.funnel-step:nth-child(4) {
    width: 55%;
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--primary);
}

.funnel-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.funnel-step h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.funnel-step:nth-child(4) h3 {
    color: var(--primary);
}

/* --- Roadmap Timeline --- */
.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.roadmap-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.roadmap-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.roadmap-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    width: 85%;
    position: relative;
}

.roadmap-item.completed .roadmap-content {
    border-color: rgba(0, 255, 204, 0.3);
}

.roadmap-dot {
    position: absolute;
    top: 2rem;
    right: -11px;
    /* 50% - dot radius */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid var(--text-muted);
    z-index: 2;
}

.roadmap-item:nth-child(even) .roadmap-dot {
    right: auto;
    left: -9px;
}

.roadmap-item.completed .roadmap-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

@media (max-width: 768px) {
    .roadmap-container::before {
        left: 20px;
    }

    .roadmap-item,
    .roadmap-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 50px;
    }

    .roadmap-content {
        width: 100%;
    }

    .roadmap-dot,
    .roadmap-item:nth-child(even) .roadmap-dot {
        left: 11px;
        right: auto;
    }
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-left: 1rem;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: var(--glass-bg);
}

/* --- Theme Switcher --- */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1.5rem;
    padding: 0.3rem;
    background: var(--bg-alt);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.theme-btn {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.5;
    filter: grayscale(100%);
    color: var(--text-main);
}

.theme-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.theme-btn.active {
    opacity: 1;
    filter: grayscale(0%);
    background: var(--glass-bg);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    border: 1px solid var(--primary);
}

[data-theme="light"] .theme-btn.active {
    box-shadow: 0 0 10px rgba(0, 119, 255, 0.2);
}

[data-theme="linux"] .theme-btn.active {
    box-shadow: 0 0 10px rgba(233, 84, 32, 0.2);
}

[data-theme="dark"] .theme-btn.active {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}
/* Platform Labels */
.platform-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.platform-label.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.platform-label.active:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--primary);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-bg);
    min-width: 200px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: background 0.2s, color 0.2s;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
    }
    .dropdown:hover .dropdown-content,
    .dropdown:active .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }
}
