:root {
    /* Design Tokens */
    --bg-dark: #030712;         /* Rich Deep Space Grey/Black */
    --bg-card: rgba(17, 24, 39, 0.7); /* Sleek translucent card base */
    --accent: #00d4ff;          /* Cyber/Electric Blue */
    --accent-purple: #a855f7;   /* Royal Purple for gradients */
    --accent-glow: rgba(0, 212, 255, 0.25);
    --text-main: #f9fafb;       /* Pure modern white */
    --text-muted: #9ca3af;     /* Light silver for paragraphs */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 212, 255, 0.35);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px var(--accent-glow);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: 0.2px;
}

h1, h2, h3, h4, .brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Section Layouts --- */
section {
    position: relative;
    z-index: 5;
}

.section-dark {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.section-gradient {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080e1e 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Buttons --- */
.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #00a3cc 100%);
    color: #030712;
    padding: 14px 34px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5), 0 0 10px var(--accent-glow);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    padding: 14px 34px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* --- Header / Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background: rgba(3, 7, 18, 0.9);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--accent);
    padding: 4px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.2));
    transition: transform 0.4s ease;
}

.nav-logo:hover {
    transform: rotate(180deg);
}

.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    letter-spacing: 1.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    padding: 5px 0;
}

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

.cta-button {
    border: 1px solid var(--accent);
    padding: 9px 22px !important;
    border-radius: 6px;
    color: var(--accent) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.cta-button:hover {
    background: var(--accent);
    color: #030712 !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Dropdown */
.dropdown-trigger {
    position: relative;
}

.dropdown-link i {
    font-size: 0.75rem;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.dropdown-trigger:hover .dropdown-link i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #0b0f19;
    width: 320px;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
}

.dropdown-trigger:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.service-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
    cursor: pointer;
    margin-bottom: 8px;
}

.service-dropdown-item:last-child {
    margin-bottom: 0;
}

.service-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.service-dropdown-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
    background: rgba(0, 212, 255, 0.1);
    padding: 8px;
    border-radius: 6px;
}

.service-dropdown-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-main);
    text-transform: none;
    letter-spacing: 0;
}

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

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1050;
}

.hamburger-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger transition on click */
.hamburger-btn.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #080c14;
    z-index: 1020;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border-left: 1px solid var(--border-color);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.mobile-drawer.active {
    right: 0;
}

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

.drawer-logo {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    padding: 3px;
}

.drawer-close {
    font-size: 2rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.drawer-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.drawer-link:hover {
    color: var(--accent);
}

.cta-drawer {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    margin-top: 15px;
}

.cta-drawer:hover {
    background: var(--accent);
    color: #030712;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    background: #020610;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto; /* Allow mouse movement interaction */
}

/* Glow Blobs */
.hero-glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    left: 15%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: 15%;
    right: 15%;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.badge-icon {
    color: var(--accent);
    font-size: 0.85rem;
}

.badge-text {
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #e0f2fe;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.05;
    margin-bottom: 1.8rem;
    font-weight: 800;
}

.glow-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.hero .subtitle {
    font-size: 1.35rem;
    max-width: 680px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll indicator mouse */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

/* --- Trust Banner --- */
.trust-banner {
    background: #02050b;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.2rem 0;
    position: relative;
    z-index: 6;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.trust-pill i {
    color: var(--accent);
    font-size: 1rem;
}

/* --- Service Interactive Showcase --- */
.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 15px 30px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-main);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.showcase-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.tab-content {
    display: none;
    align-items: center;
    gap: 4rem;
}

.tab-content.active {
    display: flex;
}

.panel-info {
    flex: 1;
}

.panel-tag {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.panel-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.panel-info p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.panel-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.panel-list li i {
    color: var(--accent);
    font-size: 0.95rem;
}

.panel-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.panel-tech-tags span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.panel-preview {
    flex: 1;
    min-width: 420px;
    display: flex;
    justify-content: center;
}

/* Mock Device Design (Macbook/Terminal screen) */
.mock-device {
    width: 100%;
    max-width: 480px;
    background: #060913;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.6);
}

.device-header {
    background: #0f1322;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 8px;
}

.device-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.device-header .dot:nth-child(1) { background-color: #ef4444; }
.device-header .dot:nth-child(2) { background-color: #eab308; }
.device-header .dot:nth-child(3) { background-color: #22c55e; }

.device-title {
    margin-left: 20px;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.device-body {
    padding: 2rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Tab 1: Doc Parser Simulation styling */
.doc-upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: border-color 0.3s ease;
}

.doc-upload-box:hover {
    border-color: var(--accent);
}

.doc-upload-icon {
    font-size: 2.2rem;
    color: var(--accent);
}

.doc-upload-box p {
    font-size: 0.9rem;
    font-weight: 500;
}

.sim-btn {
    background: var(--text-main);
    color: #030712;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.sim-btn:hover {
    transform: scale(1.03);
}

.doc-loading-bar {
    display: none;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.loading-fill {
    width: 0%;
    height: 6px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    border-radius: 10px;
    transition: width 0.1s ease;
}

.doc-loading-bar span {
    font-family: var(--font-head);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-result-json {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.doc-result-json pre {
    background: #090e18;
    padding: 1.2rem;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.json-key { color: #f43f5e; }
.json-val { color: #10b981; }
.json-num { color: #f59e0b; }

.extracted-badge {
    align-self: flex-start;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sim-reset-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

/* Tab 2: Customer AI Bot styling */
.chat-device-body {
    padding: 0;
    justify-content: flex-start;
}

.chat-header-bar {
    background: #0c0f1b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.chat-title {
    display: flex;
    flex-direction: column;
}

.chat-title strong {
    font-size: 0.85rem;
}

.chat-title span {
    font-size: 0.7rem;
    color: #22c55e;
}

.chat-messages {
    padding: 1.5rem;
    flex-grow: 1;
    min-height: 180px;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
}

.chat-msg.bot {
    background: #111827;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
}

.chat-msg.user {
    background: var(--accent);
    color: #030712;
    font-weight: 500;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.chat-input-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    display: flex;
    gap: 10px;
    background: #070a13;
}

.chat-input-bar input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 0.8rem;
}

.chat-send-btn {
    background: var(--accent);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #030712;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

/* Tab 3: Workflow Diagram Simulation styling */
.workflow-device-body {
    padding: 1.5rem;
}

.node-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 1.5rem;
}

.node-item {
    width: 100%;
    background: #0a0e18;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
}

.node-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.02);
}

.node-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.node-item.active .node-icon {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

.node-label {
    display: flex;
    flex-direction: column;
}

.node-label strong {
    font-size: 0.85rem;
    font-weight: 600;
}

.node-label span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.node-item.success-node.complete {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.02);
}

.node-item.success-node.complete .node-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.flow-arrow {
    width: 2px;
    height: 18px;
    background-color: var(--border-color);
    position: relative;
    transition: background-color 0.4s ease;
}

.flow-arrow.active {
    background-color: var(--accent);
}

.flow-arrow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--border-color);
}

.flow-arrow.active::after {
    border-top-color: var(--accent);
}

.wf-btn {
    align-self: center;
}

/* --- The Nexus Protocol Timeline --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--border-color) 0%, var(--accent) 50%, var(--border-color) 100%);
    transform: translateX(-50%);
}

.timeline-step {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-step:nth-child(even) {
    justify-content: flex-start;
}

.step-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #090e1a;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-badge {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.step-card {
    width: 43%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-card {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Savings & ROI Calculator --- */
.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: stretch;
}

.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.calc-card h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.input-group {
    margin-bottom: 2.2rem;
}

.input-group:last-child {
    margin-bottom: 0;
}

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

.slider-header label {
    font-size: 0.95rem;
    font-weight: 600;
}

.slider-val {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

/* Slider custom styles */
.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 5px;
    background: #1f2937;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.metric-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.text-glow {
    text-shadow: 0 0 10px var(--accent-glow);
}

.accent-glow-text {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.full-width-metric {
    background: rgba(0, 212, 255, 0.03);
    border-color: rgba(0, 212, 255, 0.15);
}

.calculator-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roi-score-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.score-pill {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-family: var(--font-head);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.calc-cta-btn {
    justify-content: center;
    width: 100%;
}

/* --- FAQ Accordion --- */
.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.95rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    padding: 0 2rem 2rem 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.01);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* --- Contact Section --- */
.section-contact {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.contact-meta h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-meta p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.meta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-text strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.meta-text span, .meta-text a {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 400px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
    background: rgba(3, 7, 18, 0.8);
}

.form-group select option {
    background: #0b0f19;
    color: var(--text-main);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 500;
}

.form-group.error .error-msg {
    display: block;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0f19;
    border-radius: 16px;
    padding: 3rem;
    z-index: 10;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.success-message p {
    font-size: 1rem;
    max-width: 320px;
    margin-bottom: 2rem;
}

.reset-form-btn {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
}

.reset-form-btn:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
}

/* --- Footer --- */
footer {
    background: #020408;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    position: relative;
    z-index: 5;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    padding: 3px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

/* --- Media Queries --- */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.8rem;
    }
    
    .tab-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .panel-preview {
        min-width: 100%;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .showcase-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        flex: 1 1 120px;
        justify-content: center;
    }
    
    .showcase-panel {
        padding: 2rem;
    }
    
    .panel-info h3 {
        font-size: 1.8rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-step {
        justify-content: flex-start;
        padding-left: 50px;
        margin-bottom: 3rem;
    }
    
    .step-badge {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .step-card {
        width: 100%;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .calc-card, .contact-form-card {
        padding: 2rem;
    }
}