@import url('colors.css');
@import url('typography.css');
@import url('effects.css');
@import url('animations.css');
@import url('spacing.css');

/* =========================================
   Resets and Global Variables
   ========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Buttons & Reusable UI
   ========================================= */
a {
    text-decoration: none;
}

.btn-outline {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--primary-hover);
    border-radius: 50px;
    color: var(--neutral-0);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--foreground);
}

.btn-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--foreground);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #ff8533;
}

.btn-secondary {
    background-color: var(--foreground);
    color: var(--background);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-icon,
.btn-icon-light {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.btn-icon {
    background-color: var(--primary);
    color: var(--foreground);
}

.btn-icon-light {
    background-color: var(--foreground);
    color: var(--background);
}

.btn-icon:hover,
.btn-icon-light:hover {
    transform: scale(1.1);
}

/* =========================================
   Header & Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem var(--space-section-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem var(--space-section-x);
}

.nav-left,
.nav-right {
    flex: 1;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.logo {
    letter-spacing: 2px;
    color: var(--foreground);
    text-transform: uppercase;
}

.nav-center ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-center a {
    color: var(--color-neutral-300);
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: var(--foreground);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    width: 100%; /* Changed from 100vw to prevent horizontal scrollbar overlap */
    height: 100vh;
    background-image: url('../assets/images/hero_bg.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: var(--space-section-y) var(--space-section-x);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--background) 0%, rgba(0, 0, 0, 0.8) 20%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 830px;
}

.hero-title {
    color: var(--foreground);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--foreground-muted);
    max-width: 600px;
}

/* =========================================
   Trust Banner
   ========================================= */
.trust-banner {
    background-color: var(--background);
    padding: var(--space-section-y) var(--space-section-x);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.trust-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.logos-container {
    display: flex;
    gap: var(--space-xl);
    max-width: 100vw;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: var(--space-xl);
    flex-shrink: 0;
    align-items: center;
    animation: scrollLogos 30s linear infinite;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - var(--space-xl)));
    }
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 1;
}

/* =========================================
   Our Belief Section
   ========================================= */
.our-belief {
    display: flex;
    min-height: 80vh;
    background-color: var(--foreground);
}

.belief-content {
    flex: 1;
    padding: var(--space-section-y) var(--space-section-x);
    color: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.belief-content .tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.belief-content h2 {
    color: var(--background);
}

.belief-text {
    max-width: 500px;
}

.belief-text p {
    color: #444;
}

.belief-image {
    flex: 1;
    background: linear-gradient(135deg, #cc4400 0%, #1a0800 100%);
}

/* =========================================
   Solutions Grid Section
   ========================================= */
.solutions {
    background-color: var(--background);
    padding: var(--space-section-y) var(--space-section-x);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    /* creates the border effect between cards */
    max-width: 1708px;
    margin: 0 auto;
}

.solution-card {
    background-color: var(--background-secondary);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Mockup Area */
.mockup {
    height: 520px;
    padding: 3rem 0;
    background-color: #0d0a08;
    /* Dark brown/orange tint */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 106, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.mockup-editor {
    background:
        radial-gradient(circle at center, rgba(255, 106, 0, 0.12) 0%, rgba(0, 0, 0, 0.6) 70%),
        url('../assets/images/bg_ia_agent.avif') center center / cover no-repeat;
    background-color: #0d0a08;
}

/* Specific mockups (Natural Logic Board Editor) */
.editor-window {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    width: 95%;
    max-width: 750px;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    color: #f5f5f7;
    font-size: 0.85rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.editor-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    line-height: 1.6;
}

.editor-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-tag {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8e8ed;
}

/* Dropdown / Dropup - Reference Style */
.slash-dropdown {
    position: absolute;
    bottom: 100%;
    left: -10px;
    margin-bottom: 8px;
    background: rgba(22, 22, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 280px;
    padding: 0.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 100;
    max-height: 380px;
    overflow-y: auto;
    box-sizing: border-box;
    /* Fix for overflow */
}

/* Scrollbar styling */
.slash-dropdown::-webkit-scrollbar {
    width: 4px;
}

.slash-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dropdown-group {
    margin-bottom: 0.4rem;
}

.dropdown-label {
    font-size: 0.6rem;
    color: #71717a;
    padding: 0.2rem 0.5rem;
    text-transform: capitalize;
    font-weight: 600;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    color: #e4e4e7;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    cursor: default;
    width: 100%;
    box-sizing: border-box;
    /* Fix for overflow */
}

.dropdown-item.active {
    background: #e4e4e7;
    color: #18181b;
    box-shadow: none;
}

.dropdown-item svg {
    flex-shrink: 0;
}

.dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.65rem;
    color: #71717a;
    cursor: pointer;
}

.blinking-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--foreground);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.fake-mouse {
    position: absolute;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    z-index: 1000;
}

/* Specific mockups (Natural Logic Board) */
.mockup-logic-board {
    position: relative;
    background-color: #080605;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* N8N-style Canvas */
.n8n-canvas {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* N8N Node */
.n8n-node {
    position: absolute;
    width: 260px;
    height: 145px;
    background: rgba(20, 15, 12, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    z-index: 3;
    cursor: grab;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    user-select: none;
}

.n8n-node:active {
    cursor: grabbing;
}

.n8n-node:hover {
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 0 24px rgba(255, 106, 0, 0.1);
}

.n8n-node.dragging {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 106, 0, 0.15);
    border-color: rgba(255, 106, 0, 0.4);
    z-index: 10;
}

/* Node inner (icon + text row) */
.n8n-node-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.n8n-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.n8n-node-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.n8n-node-cat {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff6a00;
}

.n8n-node-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e4e4e7;
}

.n8n-node-desc {
    font-size: 0.72rem;
    color: #71717a;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.n8n-node-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #71717a;
}

/* Connection ports */
.n8n-node-port {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6a00;
    border: 2px solid #1a1a1a;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.port-out {
    right: -6px;
    box-shadow: 0 0 8px rgba(255, 106, 0, 0.5);
}

.port-in {
    left: -6px;
    box-shadow: 0 0 8px rgba(255, 106, 0, 0.5);
}

/* Browser mockup */
.browser-window {
    width: 85%;
    height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    background-color: #050505;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.browser-tab-bar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
    padding-top: 0.5rem;
    gap: 1rem;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.browser-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.75rem;
    color: #a1a1aa;
    position: relative;
    bottom: -1px;
}

.browser-nav-bar {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1.5rem;
}

.nav-icons {
    display: flex;
    gap: 1rem;
}

.url-bar-full {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    color: #a1a1aa;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-family: monospace;
}

.browser-body-layout {
    display: flex;
    flex: 1;
}

.browser-sidebar {
    width: 200px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-title {
    font-size: 0.6rem;
    color: #52525b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e4e4e7;
}

.sidebar-item.active {
    background: rgba(255, 106, 0, 0.08);
    color: #ff6a00;
}

.browser-content {
    flex: 1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #0d0a08 100%);
}

/* Chat Mockup */
.chat-mockup {
    width: 85%;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    padding-bottom: 2rem;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.chat-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.chat-message.sent {
    justify-content: flex-end;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
}

.bubble {
    height: 40px;
    width: 70%;
    border-radius: 20px;
    background: #1a1a1c;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bubble.short {
    width: 50%;
}

.bubble.orange {
    background: #ff6a00;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.2);
}

/* Card Content Info */
.solution-info {
    padding: 4rem;
    max-width: 75%;
}



.solution-info p {
    color: var(--foreground-muted);
}

.tab-fav-icon {
    width: 12px;
    height: 12px;
    justify-content: center;
    align-items: center;
    align-self: center;
}

/* =========================================
   Team Section
   ========================================= */
.team-section {
    padding: var(--space-section-y) var(--space-section-x);
    background-color: var(--background);
}

.team-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1708px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    flex-direction: column;
}

.team-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--border-secondary);
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.team-desc {
    max-width: 360px;
    color: var(--color-neutral-400);
}

/* Support Carousel Mockup */
.support-mockup {
    position: relative;
    overflow: hidden;
    background-color: #080605;
}

.support-track {
    display: flex;
    flex-direction: row;
    gap: 16px;
    height: 100%;
    align-items: center;
    padding: 0 24px;
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
}

.support-card {
    background: rgba(40, 40, 40, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;

    opacity: 0.3;
    transform: scale(0.85);
    filter: blur(4px);
    flex-shrink: 0;
}

.support-card.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
    background: rgba(60, 60, 60, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.support-btn {
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.4);
    color: #ff6a00;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-card.active .support-btn {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
}

.support-fade-left,
.support-fade-right {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.support-fade-left {
    left: 0;
    background: linear-gradient(to right, #080605 20%, transparent);
}

.support-fade-right {
    right: 0;
    background: linear-gradient(to left, #080605 20%, transparent);
}

/* Specialist Carousel Mockup */
.specialist-mockup {
    position: relative;
    overflow: hidden;
    background-color: #080605;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialist-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 24px;
}

.spec-card {
    background: rgba(40, 40, 40, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

    opacity: 0.3;
    transform: scale(0.85);
    filter: blur(4px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.spec-card.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
    background: rgba(60, 60, 60, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.spec-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-info {
    flex-grow: 1;
}

.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.spec-body {
    color: var(--color-neutral-400);
}


.spec-fade-top,
.spec-fade-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 5;
    pointer-events: none;
}

.spec-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #080605 20%, transparent);
}

.spec-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #080605 20%, transparent);
}

/* Integration Mockup */
.integration-mockup {
    position: relative;
    overflow: hidden;
    background-color: #080605;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laser-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.int-node {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -32px;
    /* half of 64px */
    margin-left: -32px;
    /* half of 64px */
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.int-node img {
    width: 40%;
    height: 40%;
    object-fit: contain;
}

.center-node {
    width: 130px;
    height: 130px;
    margin-top: -65px;
    margin-left: -65px;
    border-radius: 50%;
    border-color: rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(5, 5, 5, 0.8) 70%);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.center-node img {
    width: 60px;
    height: 60px;
}

@keyframes orbit-spin {
    from {
        transform: rotate(var(--angle)) translate(var(--radius)) rotate(calc(var(--angle) * -1));
    }

    to {
        transform: rotate(calc(var(--angle) + 360deg)) translate(var(--radius)) rotate(calc((var(--angle) + 360deg) * -1));
    }
}

.orbit-node {
    width: 64px;
    height: 64px;
    animation: orbit-spin var(--speed) linear infinite;
}

.orbit-node:hover {
    border-color: rgba(255, 106, 0, 0.5);
}

/* =========================================
   Final CTA Section
   ========================================= */
.final-cta {
    background-color: #ffffff;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 40px 100%;
    padding: 120px var(--space-section-x);
    color: #000000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.final-cta-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.final-title {
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.final-desc {
    color: #444444;
    margin-bottom: 2rem;
    max-width: 600px;
}

.final-cta zyver-button {
    --btn-primary-bg: #000000;
    --btn-primary-color: #ffffff;
}

/* Responsive Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--color-neutral-100);
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

.mobile-menu-btn.active .icon-menu {
    display: none;
}

.mobile-menu-btn.active .icon-close {
    display: block !important;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 6, 5, 0.98);
    backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center; /* Center the links and button */
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu.active .mobile-nav-links {
    transform: translateY(0);
}

.mobile-nav-links a.mobile-link {
    color: var(--color-neutral-100);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links a.mobile-link:hover {
    color: var(--color-primary-500);
}

.mobile-close-btn {
    position: absolute;
    top: 2rem;
    right: var(--space-section-x);
    background: none;
    border: none;
    color: var(--color-neutral-100);
    cursor: pointer;
    padding: 8px;
}

.mobile-close-btn svg {
    width: 32px;
    height: 32px;
}

.mobile-cta {
    margin-top: 16px; /* Reduced margin */
}

/* Responsive basics */
@media (max-width: 1024px) {
    .solutions-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .our-belief {
        flex-direction: column;
    }

    .belief-image {
        min-height: 400px;
    }

    .nav-center, .nav-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    /* Section Headings & Subheadings Responsive */
    .hero, .our-belief, .solutions, .team-section {
        padding-top: var(--space-section-y); 
        padding-bottom: var(--space-section-y);
    }
    
    .hero {
        padding-top: 140px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Standardizing all Heads and Subheads */
    h1, h2, h3, 
    .display-l-light, .display-m-light, .display-s-light,
    .hero-title, .section-title, .team-title {
        font-size: var(--text-h2-size) !important; 
        line-height: var(--text-h2-line-height) !important;
        text-align: left !important;
        width: 100% !important;
        margin-right: auto !important;
        margin-left: 0 !important;
        margin-bottom: 2rem !important; /* Standardize margin below headings on mobile */
    }

    p, 
    .h5-light, .h6-light, .body-l-light,
    .hero p, .team-desc, .solution-info p {
        font-size: var(--text-body-l-size) !important; 
        line-height: var(--text-body-l-line-height) !important;
        max-width: 100% !important;
        text-align: left !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    /* Keep mobile menu centered despite the global rule above */
    .mobile-menu .body-l-light {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-items: center !important;
    }
    
    /* Ensure buttons align left */
    zyver-button {
        align-self: flex-start !important;
        margin-right: auto !important;
        margin-left: 0 !important;
        display: block;
    }

    .hero-content, .belief-content, .solution-info, .team-header {
        text-align: left !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: var(--space-section-x) !important;
        padding-right: var(--space-section-x) !important;
    }

    .final-cta {
        padding: 80px var(--space-section-x) !important;
        min-height: auto !important;
    }

    .final-cta-content {
        text-align: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .final-title {
        color: #000000 !important; 
        text-align: center !important;
    }

    .final-desc {
        color: #444444 !important; 
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .final-cta zyver-button {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .solution-info {
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }

    .solution-info h3 {
        font-size: var(--text-h4-size) !important;
        line-height: var(--text-h4-line-height) !important;
        margin-bottom: 0.5rem !important;
    }

    .solution-info p {
        font-size: var(--text-body-m-size) !important;
        line-height: var(--text-body-m-line-height) !important;
    }

    .mockup {
        height: 300px !important; 
        padding: 0 !important;
        overflow: hidden;
    }

    /* Scale down all mockups to fit the smaller container */
    .editor-window, 
    .n8n-canvas,
    .browser-window,
    .chat-mockup {
        transform: scale(0.9) !important; /* Slightly larger to allow the overflow effect */
        transform-origin: center center !important;
        width: 100% !important;
    }

    /* Logic Board specific "half-out" nodes */
    #node-trigger {
        left: -15% !important;
        top: 20% !important;
    }

    #node-action {
        left: 50% !important;
        top: 20% !important;
    }

    /* Webapp / Browser specific "half-out" look */
    .browser-window {
        width: 140% !important; /* Make it wider than the mockup container */
        margin-left: -20% !important; /* Center the "wide" window to show edges cut off */
    }

    .chat-mockup {
        width: 120% !important;
        margin-left: -10% !important;
    }

    .solution-info {
        padding-top: 1.5rem !important; 
        padding-bottom: 3rem !important;
    }

    .solution-card {
        flex-direction: column !important;
    }

    /* Button Proportions Fix */
    .effect-pill {
        white-space: nowrap !important;
        padding: 0.7rem 1.25rem !important;
        height: 48px !important; 
        display: flex;
        align-items: center;
    }

    .effect-circle {
        width: 48px !important;
        height: 48px !important;
    }

    .effect-circle img {
        width: 14px !important;
        height: 14px !important;
    }

    .effect-hover-fill {
        gap: 0.4rem !important;
    }

    .belief-image {
        display: none;
    }
}