:root {
    --bg-dark: #050508;
    --bg-card: #0f0f16;
    --bg-card-hover: #161621;
    --primary: #3b82f6; 
    --primary-glow: rgba(59, 130, 246, 0.4);
    --accent: #a855f7; 
    --cyan: #06b6d4; 
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #a855f7 100%);
    --gradient-border: linear-gradient(135deg, rgba(6, 182, 212, 0.5), rgba(168, 85, 247, 0.5));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Background Glow */
.cursor-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: left 0.1s ease, top 0.1s ease;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo-img {
    height: 35px;
    width: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.cta-button) {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.cta-button {
    background: var(--gradient-main);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.5);
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.secondary-button {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-main);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 60px;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 60%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
}

/* Logo Animation Enhanced */
.logo-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.logo-glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
    animation: glow-pulse 4s infinite alternate;
}

.logo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: spin 30s linear infinite;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.logo-star {
    position: absolute;
    width: 55%;
    height: 55%;
    object-fit: contain;
    animation: float-pulse 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.6));
    z-index: 5;
}

.floating-icon {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: float-icon 5s ease-in-out infinite;
}

.icon-1 { top: 10%; right: 10%; animation-delay: 0s; color: #E01E5A; }
.icon-2 { bottom: 15%; right: 20%; animation-delay: 1s; color: #4285F4; }
.icon-3 { bottom: 30%; left: 10%; animation-delay: 2s; color: var(--cyan); }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float-pulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes glow-pulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.1); }
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Trusted By Section */
.trusted-by {
    text-align: center;
    padding: 2rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.01);
}

.trusted-by p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logos-grid span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    padding: 8rem 10%;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.04), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.icon-box {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
    padding: 8rem 10%;
    background: #08080c;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.use-case-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.use-case-row.reverse {
    flex-direction: row-reverse;
}

.use-case-content {
    flex: 1;
}

.use-case-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.use-case-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.text-link:hover {
    opacity: 0.8;
}

.glass-panel {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Code Snippet Styles */
.code-snippet {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.code-line {
    margin-bottom: 0.5rem;
}

.c-purple { color: #c084fc; }
.c-blue { color: #60a5fa; }
.c-green { color: #4ade80; }
.comment { color: #64748b; margin-top: 1rem; }

/* Social Post Mockup */
.social-post-mockup {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-header { height: 20px; width: 60%; background: rgba(255,255,255,0.1); border-radius: 4px; }
.skeleton-image { height: 150px; width: 100%; background: rgba(255,255,255,0.05); border-radius: 8px; }
.skeleton-text { height: 14px; width: 90%; background: rgba(255,255,255,0.1); border-radius: 4px; }

.ai-badge {
    align-self: flex-start;
    font-size: 0.8rem;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

/* Workflows Section */
.workflow-section {
    padding: 8rem 10%;
    background: #0f0f16;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.wf-node {
    background: #1e1e24;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 220px;
}

.wf-node.success { border-color: #4ade80; color: #4ade80; background: rgba(74, 222, 128, 0.05); }
.wf-node.warning { border-color: #fbbf24; color: #fbbf24; background: rgba(251, 191, 36, 0.05); margin-top: 1rem; }

.wf-line {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* CTA Section */
.cta-section {
    padding: 8rem 10%;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.big-cta {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    margin-bottom: 1.5rem;
}

.sub-cta {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 5rem 10% 2rem;
    background: #020203;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--text-main);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
}

.floating-chat-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        padding: 1rem;
    }
    .nav-links {
        display: none; 
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 2rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .logo-container {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }
    .hero-stats {
        justify-content: center;
    }
    .content-wrapper, .use-case-row, .use-case-row.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .visual-content, .glass-panel {
        width: 100%;
    }
    .workflow-node {
        margin: 0 auto;
    }
}

/* Global Improvements */
body {
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar Polish */
.navbar {
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Feature Card Polish */
.feature-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
}

/* Legal/Impressum Specific Styles */
.legal-page-body {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
}

.legal-content {
    padding: 140px 10% 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: #0f0f16;
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: inline-block;
    width: 100%;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.legal-section h2 i {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.8;
}

.legal-section p, .legal-section li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.legal-section a:hover {
    border-bottom-color: var(--primary);
    color: #fff;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2rem;
    }
    .legal-content h1 {
        font-size: 2.2rem;
    }
}



/* New Workflow Section Styles */
.workflow-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wf-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.wf-icon {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.wf-feature h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.wf-feature p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.tech-stack-row {
    margin-top: 2.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mac Window Style */
.window-header {
    background: #1e1e24;
    padding: 0.8rem 1rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.window-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
}

.workflow-visual-container {
    background: #13131a;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* Chat Overlay */
.chat-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 280px;
}

.chat-bubble {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chat-bubble.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-bubble.ai {
    background: #2a2a35;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    display: flex;
    gap: 0.5rem;
}

.chat-bubble.ai i {
    color: var(--accent);
    margin-top: 3px;
}

/* Graph Nodes */
.graph-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.graph-node {
    background: #2a2a35;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    width: 220px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.graph-node i:first-child {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.graph-node.trigger { border-left: 3px solid #f59e0b; }
.graph-node.action { border-left: 3px solid #3b82f6; }
.graph-node.logic { border-left: 3px solid #a855f7; }

.graph-node.ghost {
    opacity: 0.5;
    border-style: dashed;
}

.node-status {
    margin-left: auto;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.node-status.success { color: #4ade80; }
.node-status.processing { color: #fbbf24; }

.graph-edge {
    background: rgba(255,255,255,0.2);
}

.graph-edge.vertical {
    width: 2px;
    height: 25px;
}

.branch-container {
    display: flex;
    width: 100px;
    height: 20px;
}

.branch-left, .branch-right {
    flex: 1;
    border-top: 2px solid rgba(255,255,255,0.2);
}

.branch-left {
    border-right: 1px solid rgba(255,255,255,0.2);
    border-top-left-radius: 10px;
}

.branch-right {
    border-left: 1px solid rgba(255,255,255,0.2);
    border-top-right-radius: 10px;
}

.graph-row {
    display: flex;
    gap: 20px;
}



/* =========================================
   FINAL DESIGN POLISH (Global Overrides)
   ========================================= */

/* Better Gradients */
:root {
    --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.4), transparent 70%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Typography Polish */
h1 { letter-spacing: -2px; }
h2 { letter-spacing: -1px; }
p { font-weight: 300; opacity: 0.9; }

/* Enhanced Card Glows */
.feature-card:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Smoother Buttons */
.cta-button {
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-button:hover {
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* Navbar Blurring */
.navbar {
    background: rgba(5, 5, 8, 0.6); /* Even more transparent */
    backdrop-filter: blur(20px); /* Stronger blur */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Section Spacing */
section {
    position: relative;
    z-index: 1;
}

/* Hero Badge Polish */
.badge {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Selection Color */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: white;
}



/* Integration Ecosystem */



.integration-ecosystem {



    padding: 6rem 10%;



    display: flex;



    align-items: center;



    gap: 4rem;



    overflow: hidden;



    position: relative;



    background: radial-gradient(circle at right center, rgba(59, 130, 246, 0.05), transparent 70%);



}







.ecosystem-content {



    flex: 1;



    z-index: 2;



}







.ecosystem-content h2 {



    font-size: 3rem;



    margin-bottom: 1.5rem;



    margin-top: 1rem;



}







.ecosystem-content p {



    font-size: 1.2rem;



    color: var(--text-muted);



}







.ecosystem-visual {



    flex: 1;



    height: 500px;



    position: relative;



    display: flex;



    justify-content: center;



    align-items: center;



}







/* Orbit Animation */



.orbit-center {



    position: relative;



    width: 100px;



    height: 100px;



    z-index: 10;



}







.orbit-core-logo {



    width: 100%;



    height: 100%;



    object-fit: contain;



    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));



}







.core-pulse {



    position: absolute;



    top: 50%;



    left: 50%;



    transform: translate(-50%, -50%);



    width: 150%;



    height: 150%;



    border-radius: 50%;



    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);



    animation: pulse-core 3s infinite;



}







.orbit-ring {



    position: absolute;



    top: 50%;



    left: 50%;



    border-radius: 50%;



    border: 1px dashed rgba(255, 255, 255, 0.1);



    transform: translate(-50%, -50%);



    transform-style: preserve-3d;



}







.orbit-ring.inner {



    width: 300px;



    height: 300px;



    animation: spin-right 40s linear infinite;



}







.orbit-ring.outer {



    width: 500px;



    height: 500px;



    animation: spin-left 60s linear infinite;



}







.orbit-item {



    position: absolute;



    top: 50%;



    left: 50%;



    width: 50px;



    height: 50px;



    margin-top: -25px;



    margin-left: -25px;



    background: #1e1e24;



    border: 1px solid rgba(255, 255, 255, 0.1);



    border-radius: 12px;



    display: flex;



    justify-content: center;



    align-items: center;



    font-size: 1.5rem;



    color: var(--text-muted);



    box-shadow: 0 4px 10px rgba(0,0,0,0.3);



    /* Place on ring and face upright relative to ring center */



    transform: rotate(var(--angle)) translate(150px) rotate(calc(-1 * var(--angle)));



}







.orbit-ring.outer .orbit-item {



    transform: rotate(var(--angle)) translate(250px) rotate(calc(-1 * var(--angle)));



}







/* Counter-spin icons to keep them upright relative to screen */



.orbit-ring.inner .orbit-item i {



    animation: spin-left 40s linear infinite;



}







.orbit-ring.outer .orbit-item i {



    animation: spin-right 60s linear infinite;



}







@keyframes spin-right {



    100% { transform: translate(-50%, -50%) rotate(360deg); }



}







@keyframes spin-left {



    100% { transform: translate(-50%, -50%) rotate(-360deg); }



}







@keyframes pulse-core {



    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }



    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }



    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }



}







/* New Badge Style */



.new-badge {



    position: absolute;



    top: 1rem;



    right: 1rem;



    background: linear-gradient(135deg, #ff0080, #7928ca);



    color: white;



    font-size: 0.7rem;



    font-weight: 700;



    padding: 0.2rem 0.6rem;



    border-radius: 20px;



    box-shadow: 0 2px 10px rgba(255, 0, 128, 0.4);



    animation: pulse-badge 2s infinite;



}







@keyframes pulse-badge {



    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 128, 0.7); }



    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 0, 128, 0); }



    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 128, 0); }



}







@media (max-width: 900px) {



    .integration-ecosystem {



        flex-direction: column;



        text-align: center;



        padding-top: 4rem;



        gap: 2rem;



    }



    .ecosystem-visual {



        transform: scale(0.65);



        height: 380px;



        margin-top: -50px;



    }



}



/* Parallax Backgrounds */
.parallax-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    will-change: transform;
}

.layer-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 70%);
}

.layer-2 {
    top: 40%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
}

.layer-3 {
    bottom: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
}



/* =========================================
   REDESIGNED WORKFLOW EDITOR
   ========================================= */

.workflow-visual-container {
    background: #09090b; /* Darker background */
    position: relative;
    overflow: hidden;
    height: 450px; /* Taller canvas */
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

/* Infinite Grid Background */
.grid-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotateX(45deg) translateY(-100px); /* Slight 3D tilt perspective */
    transform-origin: top center;
    animation: grid-scroll 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* SVG Connections */
.connections-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
    stroke-dasharray: 5;
    animation: dash-flow 30s linear infinite;
}

.connection-dot {
    fill: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

@keyframes dash-flow {
    to { stroke-dashoffset: -100; }
}

/* Nodes */
.canvas-node {
    position: absolute;
    width: 140px;
    background: rgba(30, 30, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 2;
    transition: transform 0.3s;
}

.canvas-node:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    z-index: 10;
}

.node-header {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.trigger-header { background: linear-gradient(to right, #f59e0b, #d97706); }
.gmail-header { background: linear-gradient(to right, #ef4444, #b91c1c); }
.ai-header { background: linear-gradient(to right, #8b5cf6, #6d28d9); }
.slack-header { background: linear-gradient(to right, #10b981, #059669); }

.node-body {
    padding: 10px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.node-port {
    width: 10px;
    height: 10px;
    background: #555;
    border: 2px solid #1e1e24;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.node-port.input { top: -5px; background: #888; }
.node-port.output { bottom: -5px; background: var(--primary); box-shadow: 0 0 5px var(--primary); }

/* Window Header Polish */
.window-controls { display: flex; gap: 6px; }
.window-actions { display: flex; gap: 8px; margin-left: auto; }

.action-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn.primary {
    background: var(--primary);
    color: white;
}

/* Fake Cursor Animation */
.fake-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 20;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    animation: cursor-move 4s infinite ease-in-out;
}

@keyframes cursor-move {
    0% { transform: translate(0, 0); }
    25% { transform: translate(80px, 60px); } /* Move to AI Node */
    50% { transform: translate(80px, 60px) scale(0.9); } /* Click */
    75% { transform: translate(80px, 200px); } /* Drag to Slack */
    100% { transform: translate(0, 0); }
}



/* =========================================
   3D ZOOM SCROLL FEATURES
   ========================================= */

.features-scroll-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.fixed-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.bg-star-pulse {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulse-star-bg 6s ease-in-out infinite;
}

@keyframes pulse-star-bg {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
}

.features-tunnel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40vh; /* Huge gap for scroll effect */
    padding-bottom: 20vh;
}

.zoom-card {
    width: 400px; /* Fixed width for better centering */
    max-width: 90%;
    text-align: center;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    transition: transform 0.1s ease-out; /* Smooth JS override */
    background: rgba(15, 15, 22, 0.8); /* More opacity */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.zoom-card .icon-box {
    margin: 0 auto 1.5rem auto;
}

/* Ensure new badge stays positioned correctly */
.zoom-card .new-badge {
    right: 1.5rem;
    top: 1.5rem;
}

@media (max-width: 768px) {
    .features-tunnel {
        gap: 30vh;
    }
}



/* =========================================
   NEURAL STREAM PARALLAX
   ========================================= */

.neural-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: #050508;
}

.neural-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.neural-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.neural-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.neural-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* The Central Beam */
.neural-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    z-index: 0;
}

.line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* JS will animate this */
    background: linear-gradient(to bottom, var(--cyan), var(--primary), var(--accent));
    box-shadow: 0 0 15px var(--primary);
    transition: height 0.1s linear;
}

/* Rows */
.neural-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10rem; /* Space between cards */
    position: relative;
    perspective: 1000px;
}

.neural-row.right { justify-content: flex-end; padding-left: 55%; }
.neural-row.left { justify-content: flex-start; padding-right: 55%; }

/* Connectors */
.neural-connector {
    position: absolute;
    top: 50%;
    width: 50%;
    height: 2px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.5s;
}

.neural-row.right .neural-connector { left: 0; transform-origin: left center; }
.neural-row.left .neural-connector { right: 0; transform-origin: right center; }

.connector-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.neural-row.right .connector-line { transform-origin: left; }
.neural-row.left .connector-line { transform-origin: right; }

.connector-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%) scale(0);
    box-shadow: 0 0 10px var(--primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neural-row.right .connector-dot { left: 0; }
.neural-row.left .connector-dot { right: 0; }

/* Active State for Connectors */
.neural-row.active .neural-connector { opacity: 1; }
.neural-row.active .connector-line { transform: scaleX(1); }
.neural-row.active .connector-dot { transform: translateY(-50%) scale(1); }

/* Neural Cards */
.neural-card {
    background: rgba(15, 15, 22, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 24px;
    width: 100%;
    position: relative;
    transition: transform 0.1s ease-out, border-color 0.3s, box-shadow 0.3s;
    will-change: transform;
    /* Initial state for parallax reset */
    transform: translateY(0);
}

.neural-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
    z-index: 10;
}

.neural-card .icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neural-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.neural-card p {
    color: var(--text-muted);
}

.neural-card .new-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

@media (max-width: 900px) {
    .neural-line { left: 20px; }
    .neural-row { flex-direction: column; align-items: flex-start; margin-left: 40px; padding: 0 !important; }
    .neural-connector { display: none; } /* Hide connectors on mobile */
    .neural-card { width: 100%; }
}






/* Fix for Orbit Images */
.orbit-item img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}



/* =========================================
   404 ERROR PAGE STYLES
   ========================================= */

.error-page-body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #050508 100%);
}

.error-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.error-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.void-ring {
    position: absolute;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: void-spin 10s linear infinite;
    border-top-color: transparent;
    border-left-color: transparent;
}

.void-ring.inner {
    width: 70%;
    height: 70%;
    border-color: rgba(168, 85, 247, 0.4);
    border-bottom-color: transparent;
    border-right-color: transparent;
    animation: void-spin 6s linear infinite reverse;
}

.error-logo {
    width: 100px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8));
}

.error-code {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 10px;
}

.error-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

@keyframes void-spin {
    to { transform: rotate(360deg); }
}

/* Glitch Text Effect */
.error-code::before, .error-code::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050508;
}

.error-code::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.error-code::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(12px, 9999px, 89px, 0); }
    20% { clip: rect(65px, 9999px, 19px, 0); }
    40% { clip: rect(9px, 9999px, 23px, 0); }
    60% { clip: rect(54px, 9999px, 4px, 0); }
    80% { clip: rect(32px, 9999px, 76px, 0); }
    100% { clip: rect(89px, 9999px, 3px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(2px, 9999px, 12px, 0); }
    40% { clip: rect(87px, 9999px, 32px, 0); }
    60% { clip: rect(34px, 9999px, 54px, 0); }
    80% { clip: rect(9px, 9999px, 23px, 0); }
    100% { clip: rect(12px, 9999px, 89px, 0); }
}


/* =========================================
   MODERN DOCS LAYOUT (Impressum/Privacy)
   ========================================= */

.legal-layout {
    display: flex;
    max-width: 1200px;
    margin: 120px auto 4rem;
    padding: 0 2rem;
    gap: 4rem;
}

/* Sidebar (Table of Contents) */
.legal-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    height: fit-content;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
}

.legal-sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.toc-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    transition: color 0.2s, transform 0.2s;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
}

.toc-link:hover, .toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    transform: translateX(5px);
}

/* Main Content Area */
.legal-main {
    flex: 1;
    min-width: 0;
}

.doc-header {
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.doc-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.doc-meta {
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.doc-section {
    margin-bottom: 4rem;
}

.doc-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-section h2 i {
    color: var(--primary);
    font-size: 1.4rem;
    opacity: 0.8;
}

.doc-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.doc-section ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.doc-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.doc-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Info Box Style */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.info-box p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .legal-layout {
        flex-direction: column;
        margin-top: 100px;
    }
    .legal-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}


/* =========================================
   LEGAL SIDEBAR ENHANCEMENTS
   ========================================= */

.toc-link.active {
    color: white !important;
    border-left-color: var(--primary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    padding-left: 1.2rem;
}

.sidebar-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 1.2rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-cta:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.sidebar-cta span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-cta i {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.5;
}

.cta-row {
    display: flex;
    align-items: center;
}


/* =========================================
   BENTO GRID (Use Cases)
   ========================================= */

.bento-section {
    padding: 8rem 10%;
    background: #050508;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 2rem;
    margin-top: 4rem;
}

.bento-card {
    background: rgba(20, 20, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.bento-card.large { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }
.bento-card.medium { grid-column: span 1; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pill.purple { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-pill.pink { background: rgba(236, 72, 153, 0.15); color: #f9a8d4; border: 1px solid rgba(236, 72, 153, 0.3); }
.badge-pill.blue { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }

/* Visual Mockups inside Bento Cards */
.visual-mockup {
    margin-top: auto;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

/* Code Terminal */
.code-terminal {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    padding: 1rem;
}
.terminal-header { display: flex; gap: 6px; margin-bottom: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.k { color: #c678dd; } /* keyword */
.s { color: #98c379; } /* string */
.f { color: #61afef; } /* function */
.c { color: #5c6370; } /* comment */
.indent { padding-left: 1.5rem; }

/* Social Stack */
.social-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1.5rem;
}
.social-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-item i { color: var(--primary); }

/* Chart Viz */
.chart-viz {
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 1rem;
    gap: 10px;
}
.chart-bar {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}
.chart-bar.active { background: var(--gradient-main); }


/* =========================================
   SPLIT BUILDER (Workflows)
   ========================================= */

.split-builder-section {
    padding: 8rem 5%;
    background: #08080c;
}

.builder-container {
    display: flex;
    gap: 2rem;
    height: 600px;
    align-items: center;
}

.builder-pane {
    flex: 1;
    height: 100%;
    background: #13131a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pane-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    opacity: 0.5;
}

/* Chat Pane */
.chat-message-stream {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Typing Effect */
.typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Connector Beam */
.builder-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    gap: 10px;
    opacity: 0.5;
}

/* Dynamic Graph Pane */
.dynamic-graph-nodes {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: 100%;
    position: relative;
}

/* Nodes injected by JS will use .canvas-node styles */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-card.large, .bento-card.tall, .bento-card.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
    .builder-container {
        flex-direction: column;
        height: auto;
    }
    .builder-pane {
        width: 100%;
        height: 400px;
    }
    .builder-connector {
        transform: rotate(90deg);
    }
}


/* =========================================
   NEW BENTO VISUALS (Everyone)
   ========================================= */

/* Notification Box */
.notification-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    margin: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slide-in-notif 4s infinite;
}

.notif-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.notif-time { margin-left: auto; opacity: 0.6; }

.notif-body strong { display: block; font-size: 0.9rem; color: white; }
.notif-body p { font-size: 0.8rem; margin: 0; opacity: 0.8; }

@keyframes slide-in-notif {
    0%, 100% { transform: translateY(20px); opacity: 0; }
    10%, 90% { transform: translateY(0); opacity: 1; }
}

/* Summary Preview */
.summary-preview {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-line {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.summary-line span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient-main);
    animation: fill-line 4s infinite;
}

.ai-check {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #10b981;
    opacity: 0;
    animation: fade-in-check 4s infinite;
}

@keyframes fill-line {
    20%, 100% { width: 100%; }
}

@keyframes fade-in-check {
    40%, 100% { opacity: 1; }
}

/* Tap Button */
.tap-viz {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tap-button {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}



/* =========================================
   HOW IT WORKS (Steps)
   ========================================= */

.steps-section {
    padding: 8rem 10%;
    background: #08080c;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 300px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.step-visual {
    margin-top: 1.5rem;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.step-connector {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

/* Visuals */
.app-row { display: flex; gap: 10px; font-size: 1.2rem; color: white; align-items: center; }
.chat-mini-bubble { background: var(--primary); padding: 5px 10px; border-radius: 10px; font-size: 0.8rem; }
.success-badge { color: #10b981; font-weight: bold; display: flex; gap: 5px; align-items: center; }

/* =========================================
   TESTIMONIALS (Marquee)
   ========================================= */

.testimonials-section {
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #08080c, #050508);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.testimonial-card {
    background: rgba(20, 20, 27, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    width: 350px;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.user-info h4 { font-size: 0.95rem; margin: 0; }
.user-info span { font-size: 0.8rem; color: var(--text-muted); }

@keyframes marquee-scroll {
    to { transform: translateX(-50%); }
}

/* =========================================
   FAQ (Accordion)
   ========================================= */

.faq-section {
    padding: 8rem 10%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s;
    font-size: 0.9rem;
    opacity: 0.5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p { margin-bottom: 1.5rem; }

.faq-item.active .faq-answer {
    max-height: 200px; /* Approximate max height */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
    opacity: 1;
}

@media (max-width: 768px) {
    .step-connector { display: none; }
    .steps-container { flex-direction: column; }
    .step-item { width: 100%; }
}



/* =========================================
   PREMIUM HERO STATS BAR
   ========================================= */

.hero-stats-bar {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 3rem;
    border-radius: 24px;
    margin-top: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-value .unit {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

@media (max-width: 768px) {
    .hero-stats-bar {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        width: 100%;
    }
    .stat-divider { display: none; }
    .stat-item { align-items: center; }
}

