/* CSS Variables for Premium Dark Theme */
:root {
    --bg-color: #f7f7f7;
    --surface-color: rgba(255, 255, 255, 0.4);
    --surface-border: rgba(0, 0, 0, 0.05);
    --text-primary: #000000;
    --text-secondary: #525252;
    --accent-color: #ff6b00; /* Orange */
    --accent-glow: rgba(255, 107, 0, 0.25);
    --primary-blue: #0f172a;
    
    /* Gradients */
    --text-gradient: linear-gradient(135deg, #000000 0%, #ff6b00 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --border-radius-full: 9999px;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Grid overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    transition: width 0.3s, height 0.3s;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3.5rem, 6vw, 6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 2rem; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0.875rem 2.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

/* Navbar Pill Design */
.navbar {
    position: fixed;
    top: 2rem; left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 0.75rem 1rem 0.75rem 2rem;
    z-index: 100;
    background: #0d121c; /* Match the navy/black background of the provided logo */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease;
}

.navbar.hide {
    transform: translate(-50%, -150%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: lighten; /* Uses the lighter of the two colors, turning a black background completely transparent against a navy bar without brightening the navy */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Dropdown Menu CSS */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0d121c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    min-width: 220px;
    padding: 0.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: #0d121c;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    color: rgba(255,255,255,0.7);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    padding-left: 1.25rem;
}

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

.nav-dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
}

.dropdown-trigger svg {
    transition: transform 0.3s ease;
}

/* Layout Utilities */
.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 10rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 10;
    padding: 0 2rem;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    margin: 1.5rem 0 3rem;
    max-width: 500px;
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Integrations Marquee */
.integrations-marquee {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    margin: 2rem 0;
    background: transparent;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding-right: 6rem;
    width: max-content;
    animation: scroll-marquee 30s linear infinite;
}

.integration-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-5px) scale(1.05);
}

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

.integrations-tab-container {
    display: flex;
    justify-content: center;
    margin-top: -3.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.integrations-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* App Interface Mockups */
.hero-visual-content {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.mockup-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.workflow-card {
    top: 50px;
    right: 0;
    width: 500px;
    height: 350px;
    z-index: 2;
}

.stat-card {
    bottom: 20px;
    left: -40px;
    width: 250px;
    padding: 1.25rem;
    z-index: 3;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Mockup Header Mac OS style */
.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.mockup-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #e5e5e5;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Workflow Canvas & Nodes */
.workflow-canvas {
    position: relative;
    height: 200px;
    width: 100%;
}

.workflow-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.node-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
}

.bg-gmail { background: #ea4335; }
.bg-ai { background: var(--primary-blue); border: 2px solid var(--accent-color); }
.bg-crm { background: #ff6b00; }
.bg-slack { background: #4a154b; }

.glow-node::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(15px);
    z-index: -1;
    animation: pulseGlow 2s infinite alternate;
}

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255,255,255,0.9);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Animated Connection Lines */
.workflow-line {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.animated-line {
    animation: dashAnim 20s linear infinite;
    transition: stroke 0.3s ease;
}

/* --- Interactive Flow Animations --- */

/* Base tooltips */
.node-tooltip {
    position: absolute;
    top: -35px;
    background: var(--text-primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.node-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: var(--text-primary) transparent transparent transparent;
}

.success-tooltip {
    background: #10b981;
    top: 50%;
    left: calc(100% + 15px);
    transform: translateY(-50%) translateX(-10px);
}
.success-tooltip::after {
    bottom: auto;
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
    border-width: 4px 4px 4px 0;
    border-color: transparent #10b981 transparent transparent;
}

/* Removed old data-packet in favor of mini-beams */

/* Node Description Tooltips (Appears below node on direct hover) */
.node-desc-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 150px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--text-primary);
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    pointer-events: none;
}

.node-desc-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.95) transparent;
}

.workflow-node:hover .node-desc-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Automatic Workflow Animation (Preloader Style) --- */

.mini-beam {
    fill: none;
    stroke-dasharray: 20 100;
    stroke-dashoffset: 20;
    opacity: 0;
}

.slack-beam {
    filter: drop-shadow(0 0 8px #10b981);
}

.b-1 {
    filter: drop-shadow(0 0 8px var(--primary-blue));
    animation: shootMiniBeam 4s cubic-bezier(0.5, 0, 0.2, 1) infinite;
    animation-delay: 0.5s;
}

.b-2 {
    filter: drop-shadow(0 0 8px var(--accent-color));
    animation: shootMiniBeam 4s cubic-bezier(0.5, 0, 0.2, 1) infinite;
    animation-delay: 2.0s;
}

@keyframes shootMiniBeam {
    0% { opacity: 1; stroke-dashoffset: 20; }
    25% { stroke-dashoffset: -100; opacity: 1; }
    26%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

.t-1 {
    animation: popTooltipSync 4s ease-in-out infinite;
    animation-delay: 0s;
}

.auto-pulse-ai .node-icon {
    animation: pulseNodeSync 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.t-2, .t-3 {
    animation: popTooltipRightSync 4s ease-in-out infinite;
    animation-delay: 3.0s;
}

.target-node-crm .node-icon,
.target-node-slack .node-icon {
    animation: pulseSuccessSync 4s ease-in-out infinite;
    animation-delay: 3.0s;
}

@keyframes popTooltipSync {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(0); }
    40%, 100% { opacity: 0; transform: translateY(-5px); }
}

@keyframes popTooltipRightSync {
    0% { opacity: 0; transform: translateY(-50%) translateX(-10px); }
    10% { opacity: 1; transform: translateY(-50%) translateX(0); }
    30% { opacity: 1; transform: translateY(-50%) translateX(0); }
    40%, 100% { opacity: 0; transform: translateY(-50%) translateX(5px); }
}

@keyframes pulseNodeSync {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    12% { transform: scale(1.15); box-shadow: 0 0 30px var(--primary-blue); }
    25% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
}

@keyframes pulseSuccessSync {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.1); box-shadow: 0 0 20px #10b981; }
    25% { transform: scale(1); }
}

/* Stat Mini Card */
.stat-mini-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.stat-mini-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 50px;
}

.mini-chart .bar {
    flex: 1;
    background: rgba(255,255,255,0.2);
    border-radius: 3px 3px 0 0;
    transition: height 1s ease;
}

/* Floating Animations */
.floating-slow {
    animation: floating 6s ease-in-out infinite alternate;
}

.floating-fast {
    animation: floating 4s ease-in-out infinite alternate-reverse;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

@keyframes pulseGlow {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

@keyframes dashAnim {
    to { stroke-dashoffset: -1000; }
}

/* Atmospheric Glows (Kinso Style Auras) */
.hero-bg-elements {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    filter: blur(120px);
    opacity: 0.25;
}

.orb-1 {
    width: 800px; height: 100vh;
    background: var(--primary-blue);
    top: 0; right: 0;
    transform: translateX(50%);
}

.orb-2 {
    width: 700px; height: 100vh;
    background: var(--accent-color);
    top: 0; left: 0;
    transform: translateX(-50%);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 50px; height: 50px;
    background: var(--surface-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-glow);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Benefits Section */
.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-top: 2rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.benefit-list svg {
    color: var(--text-primary);
    flex-shrink: 0;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(255,255,255,0.1), transparent 30%);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.stat-group {
    margin-bottom: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.progress-bar-container {
    margin-top: 3rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #a3a3a3;
}

.progress-bar {
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefits-visual.in-view .progress-fill {
    width: 95%;
}

/* Contact Section */
.contact-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    backdrop-filter: blur(20px);
}

.contact-form {
    max-width: 500px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.success-msg {
    color: #4ade80;
    font-size: 1.2rem;
    padding: 2rem;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--border-radius-sm);
    background: rgba(74, 222, 128, 0.05);
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 4rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: #525252;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations & Utilities */
/* Premium Scroll Reveal Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(8px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-ctas { flex-direction: column; }
    .benefits-container { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .section { padding: 5rem 1.5rem; }
    .glass-panel { padding: 2rem; }
}

/* =========================================================================
   MEGA WORKFLOW PRELOADER
   ========================================================================= */

body.loading-lock {
    overflow: hidden;
    height: 100vh;
}

.node-preloader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #080b12; 
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease-in, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-grid {
    position: absolute;
    inset: 0;
    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: 50px 50px;
    opacity: 0;
    animation: fadeInGrid 1s ease 0.5s forwards;
}

@keyframes fadeInGrid { to { opacity: 1; } }

.node-preloader.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.5);
    filter: blur(20px);
}

.preloader-canvas {
    position: absolute;
    width: 100%; height: 100%;
    inset: 0;
}

.preloader-centered-flow {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 450px;
    height: 250px;
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
    animation: fadeInFlow 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes fadeInFlow {
    0% { opacity: 0; transform: translate(-50%, -40%) scale(1.4); filter: blur(10px); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.6); filter: blur(0px); }
}

.m-track {
    stroke: rgba(0,0,0,0.06);
}

.node-preloader .m-track {
    stroke: rgba(255,255,255,0.08);
}

/* Base tooltips default color adjustment for dark backgrounds */
.node-preloader .node-label {
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.node-preloader .node-tooltip {
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .preloader-centered-flow {
        left: 50%;
        transform: translate(-50%, -50%) scale(0.85);
    }
}

.preloader-text {
    position: absolute;
    bottom: 50px;
    font-family: var(--font-heading);
    color: var(--accent-color);
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    display: inline-block;
}

.preloader-text-typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-light);
    width: 0;
    animation: typing 1.5s steps(35, end) forwards, blinkCursor 0.6s step-end infinite, hideTyping 0.1s forwards 3.0s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-light); }
}

@keyframes hideTyping {
    to { opacity: 0; visibility: hidden; }
}

.preloader-text-ready {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    font-size: 2.5rem;
    color: #0ea5e9;
    text-shadow: 0 0 15px #0ea5e9, 0 0 30px #0ea5e9;
    letter-spacing: 0.2em;
    font-weight: 800;
    white-space: nowrap;
    animation: showReady 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 3.0s;
}

@keyframes showReady {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Boot Sequence */
.node-preloader .boot-item {
    opacity: 0;
    transform: scale(0.8);
    animation: powerOn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.node-preloader .b-delay-1 { animation-delay: 1.0s; }
.node-preloader .b-delay-2 { animation-delay: 1.2s; }
.node-preloader .b-delay-3 { animation-delay: 1.4s; }
.node-preloader .b-delay-4 { animation-delay: 1.6s; }
.node-preloader .b-delay-5 { animation-delay: 1.8s; }

@keyframes powerOn {
    0% { opacity: 0; transform: scale(0.8); filter: brightness(2) blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1) blur(0); }
}



/* Core explosion removed per request, letting standard fade-out handle transition */
