/* ========================================= 1. VARIABLES & RESET ========================================= */
:root {
	/* --- NEW SYSTEM COLORS --- */
	--primary: #ff8c00;
	/* Brand Orange */
	--primary-hover: #ff9f33;
	--primary-glow: rgba(255, 140, 0, 0.4);
	--bg-dark: #0b0e14;
	/* Main Background */
	--bg-panel: #131722;
	/* Card Background */
	--bg-panel-light: #1c2128;
	--text-main: #ffffff;
	--text-muted: #94a3b8;
	--border-glass: rgba(255, 255, 255, 0.08);
	--line-color: #5c6979;
	/* System Colors */
	--success: #00ff9d;
	--warning: #ffbd2e;
	--error: #ff5f56;
	--primary-check: #2ecc71;
	/* --- BACKWARD COMPATIBILITY (Wichtig für Index!) --- */
	--brand-orange: var(--primary);
	--glass-border: var(--border-glass);
	--n8n-bg: var(--bg-dark);
	--n8n-panel: var(--bg-panel);
	--n8n-border: var(--line-color);
	/* Layout */
	--max-width: 1300px;
	--header-height: 80px;
	--font-main: 'Inter', sans-serif;
	--font-mono: 'Fira Code', monospace;
}

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

html {
	scroll-behavior: smooth;
}

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

/* ========================================= 2. UTILITY CLASSES ========================================= */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	position: relative;
}

.section-padding {
	padding: 100px 0;
	position: relative;
}

.text-center {
	text-align: center;
}

.text-primary,
.text-brand-forced {
	color: var(--primary) !important;
}

.text-muted,
.text-muted-home,
.text-muted-lux,
.text-muted-shop {
	color: var(--text-muted);
	line-height: 1.6;
}

/* Reveal Animation Base */
.reveal {
	opacity: 1;
	transform: translateY(0);
}

/* Standard Grids */
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

@media (max-width: 992px) {

	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr !important;
		gap: 40px;
	}
}

/* ========================================= 3. HEADER & NAVIGATION (FIXED) ========================================= */
header {
    height: var(--header-height);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 10, 15, 0.90); /* Leicht transparent */
    backdrop-filter: blur(15px); /* Glas-Effekt */
    border-bottom: 1px solid var(--border-glass);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 35px; /* Logo Größe */
    width: auto;
    display: block;
}

/* --- DESKTOP NAVIGATION --- */
.desktop-nav ul {
    display: flex;
    gap: 40px;
    list-style: none !important; /* FIX: Entfernt die Punkte */
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ccc;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* Hover Effekt für Desktop Menu */
.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: 0.3s;
    box-shadow: 0 0 8px var(--primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* --- HEADER ACTIONS (Buttons rechts) --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid transparent;
    padding: 8px 15px;
    border-radius: 4px;
}

.login-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.mobile-toggle {
    display: none; /* Standardmäßig ausblenden */
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    padding: 10px;
    transition: 0.3s;
}

.mobile-toggle:hover {
    color: var(--primary);
}

/* --- FULLSCREEN MOBILE MENU (PREMIUM STYLE) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 14, 20, 0.98); /* Fast deckendes Schwarz */
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.05);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.mobile-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.mobile-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.mobile-nav-list li {
    margin: 25px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s;
}

/* Animation Sequence for items */
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; transform: translateY(0); opacity: 1; }
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(2) { transition-delay: 0.2s; transform: translateY(0); opacity: 1; }
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(3) { transition-delay: 0.3s; transform: translateY(0); opacity: 1; }
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(4) { transition-delay: 0.4s; transform: translateY(0); opacity: 1; }

.mobile-nav-list a {
    font-size: 1.8rem; /* Groß für Touch */
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    color: var(--primary);
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

.mobile-cta-box {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    transition-delay: 0.5s;
}

.mobile-menu-overlay.active .mobile-cta-box {
    opacity: 1;
    transform: translateY(0);
}

.mobile-login-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 1rem;
}

.mobile-login-link:hover { color: #fff; }


/* --- RESPONSIVE BREAKPOINT (< 1024px) --- */
@media (max-width: 1024px) {
    /* Verstecke Desktop Elemente */
    .desktop-nav,
    .desktop-only {
        display: none !important;
    }

    /* Zeige Burger Menu */
    .mobile-toggle {
        display: block;
    }
    
    /* Login Button anpassen */
    .login-text {
        display: none; /* Nur Icon auf Mobile anzeigen um Platz zu sparen */
    }
    .login-btn {
        font-size: 1.2rem;
        padding: 5px;
    }
}

/* ========================================= 4. BUTTONS (Unified) ========================================= */

/* 1. Der Basis-Style (Normalzustand) */
.brand-btn,
.cta-btn,
.btn-primary,
.cta-btn-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    
    /* Hintergrund ist Orange */
    background: var(--primary); 
    
    /* Text ist dunkel */
    color: #0b0e14; 
    
    /* WICHTIG: Der Rahmen ist da, hat aber die gleiche Farbe wie der Hintergrund */
    border: 1px solid var(--primary); 
    
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Übergang: Wichtig für das "Schimmern" (0.4s ist etwas weicher) */
    transition: all 0.4s ease-in-out; 
    
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* 2. Der Hover-Effekt (Hintergrund weg, Umrandung bleibt) */
.brand-btn:hover, 
.cta-btn:hover, 
.btn-primary:hover, 
.cta-btn-shop:hover {
    /* Hintergrund wird transparent -> "schimmert weg" */
    background: transparent; 
    
    /* Text wird Orange (damit er lesbar bleibt und leuchtet) */
    color: var(--primary); 
    
    /* Der Rahmen (aus dem Basis-Style) ist nun sichtbar, da der Background weg ist */
    /* Optional: Ein Schein (Glow) um den Rahmen für mehr Effekt */
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4), inset 0 0 10px rgba(255, 140, 0, 0.1);
    
    transform: translateY(-2px);
}

/* --- Deine Outline Buttons (unverändert lassen oder anpassen) --- */
.cta-btn-outline,
.cta-btn.cta-outline {
    /* ... dein bestehender Code für Outline Buttons ... */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.cta-btn-outline:hover,
.cta-btn.cta-outline:hover {
    background: var(--primary);
    color: #0b0e14;
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* ========================================= 5. HOME HERO SECTION (Original Design) ========================================= */
.home-hero,
.auto-hero {
	padding-top: 180px;
	padding-bottom: 100px;
	position: relative;
	overflow: visible;
	text-align: center;
}

.hero-glow-orange {
	position: absolute;
	top: -30%;
	left: 50%;
	transform: translateX(-50%) translateZ(0);
	width: 80vw;
	height: 60vw;
	background: radial-gradient(circle, rgba(255, 140, 0, 0.3) 0%, rgba(255, 140, 0, 0.1) 40%, transparent 70%);
	filter: blur(60px);
	pointer-events: none;
	z-index: -1;
	opacity: 0.8;
	animation: breathingLight 6s infinite ease-in-out alternate;
}

/* Automation Radar Animation */
.auto-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 140, 0, 0.05) 0%, transparent 60%);
	animation: radarSpin 30s linear infinite;
	z-index: -1;
	pointer-events: none;
}

@keyframes radarSpin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes breathingLight {
	0% {
		opacity: 0.6;
		transform: translateX(-50%) scale(0.95);
	}

	100% {
		opacity: 0.9;
		transform: translateX(-50%) scale(1.05);
	}
}

.hero-badge {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--primary);
	color: var(--primary);
	border-radius: 50px;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 30px;
	background: rgba(255, 140, 0, 0.05);
	box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
}

.hero-title {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 30px;
	background: linear-gradient(135deg, #fff 20%, #888 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.home-tech-stack {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-top: 60px;
	opacity: 0.7;
	transition: 0.3s;
}

.home-tech-stack:hover {
	opacity: 1;
}

.tech-icon {
	font-size: 2rem;
	color: #64748b;
	transition: 0.3s;
}

.tech-icon:hover {
	color: var(--primary);
	filter: drop-shadow(0 0 10px var(--primary));
}

@media (max-width: 900px) {
	.hero-title {
		font-size: 2.5rem;
	}
}

/* ========================================= 6. USP CARDS & GRIDS (FIXED) ========================================= */
.usp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 80px;
}

.usp-card,
.feat-item,
.shop-card,
.lux-card {
	background: var(--bg-panel);
	border: 1px solid var(--border-glass);
	padding: 30px;
	border-radius: 8px;
	transition: transform 0.3s, border-color 0.3s;
	position: relative;
	overflow: hidden;
}

.usp-card:hover,
.feat-item:hover,
.shop-card:hover,
.lux-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.usp-card::after,
.lux-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 150px;
	height: 150px;
	background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.15), transparent 70%);
	opacity: 0;
	transition: 0.4s;
}

.usp-card:hover::after,
.lux-card:hover::before {
	opacity: 1;
}

.usp-icon,
.feat-item i,
.shop-icon i,
.shop-icon,
.lux-icon {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 25px;
	display: inline-block;

	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	backface-visibility: hidden;
	transform-origin: center;
}

/* Shop/Lux Card Icon Animation */
.shop-card:hover .shop-icon i,
.shop-card:hover .shop-icon,
.lux-card:hover .lux-icon {
	transform: rotate(-6deg) scale(1.1);
	text-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
	color: #fff;
}

/* Mobile Breakpoint for USP Grid */
@media (max-width: 900px) {

	.usp-grid,
	.shop-grid,
	.lux-grid {
		grid-template-columns: 1fr;
	}
}

/* ========================================= 7. AUTOMATION SECTION ========================================= */
.automation-section {
	background: linear-gradient(180deg, var(--bg-dark) 0%, #06080c 100%);
	border-top: 1px solid var(--border-glass);
	border-bottom: 1px solid var(--border-glass);
	padding: 100px 0;
	position: relative;
}

.grid-2-auto {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

/* Pricing Box in Automation */
.automation-addon-box {
	background: rgba(255, 140, 0, 0.03);
	border: 1px solid rgba(255, 140, 0, 0.2);
	border-left: 3px solid var(--primary);
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 30px;
}

.addon-price {
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	display: block;
	margin-bottom: 5px;
}

.addon-sub {
	font-size: 0.9rem;
	color: #ccc;
	line-height: 1.5;
	margin-bottom: 15px;
	display: block;
}

.learn-more-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: 0.3s;
}

.learn-more-link:hover {
	color: #fff;
	transform: translateX(5px);
}

/* Workflow Visuals */
.workflow-visual {
	position: relative;
	padding: 40px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: rgba(10, 12, 18, 0.6);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
}

/* Globe Animation */
.wf-globe-wrapper {
	margin-bottom: 0;
	position: relative;
	z-index: 2;
}

.wf-globe-icon {
	font-size: 2.5rem;
	color: #4a5568;
	animation: globeSpin 10s linear infinite;
}

@keyframes globeSpin {
	0% {
		transform: rotate(0deg);
		color: #4a5568;
	}

	50% {
		color: var(--primary);
		text-shadow: 0 0 20px var(--primary);
	}

	100% {
		transform: rotate(360deg);
		color: #4a5568;
	}
}

/* Workflow Nodes */
.wf-node {
	width: 100%;
	max-width: 300px;
	padding: 12px 20px;
	background: #1a1f2e;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	color: #fff;
	font-family: monospace;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
	z-index: 2;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	transition: 0.3s;
}

.wf-node.logic {
	border-style: dashed;
	border-color: #666;
}

.wf-node.success-node {
	border-color: rgba(255, 255, 255, 0.1);
	animation: successPulse 4s infinite;
}

.wf-node span {
	font-weight: 500;
	letter-spacing: 0.5px;
}

@keyframes successPulse {

	0%,
	75% {
		border-color: rgba(255, 255, 255, 0.1);
		box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
		color: #fff;
	}

	80% {
		border-color: var(--success);
		box-shadow: 0 0 25px rgba(0, 255, 157, 0.4);
		color: var(--success);
		transform: scale(1.02);
	}

	90% {
		border-color: var(--success);
		box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
		transform: scale(1.0);
	}

	100% {
		border-color: rgba(255, 255, 255, 0.1);
	}
}

/* Connecting Lines & Packets */
.wf-line {
	width: 2px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	position: relative;
	z-index: 1;
}

.wf-packet {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	background: var(--primary);
	border-radius: 4px;
	box-shadow: 0 0 10px var(--primary);
	opacity: 0;
	animation: flowPacket 4s infinite ease-in-out;
}

.line-1 .wf-packet {
	animation-delay: 0s;
}

.line-2 .wf-packet {
	animation-delay: 1.0s;
}

.line-3 .wf-packet {
	animation-delay: 2.0s;
}

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

	10% {
		opacity: 1;
	}

	90% {
		opacity: 1;
	}

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

@media (max-width: 900px) {
	.grid-2-auto {
		grid-template-columns: 1fr !important;
		gap: 50px !important;
	}
}

/* --- AUTOMATION PAGE SPECIFICS --- */
.n8n-canvas-wrapper {
	overflow-x: hidden;
	overflow-y: hidden;
	width: 100%;
	height: 600px;
	background-color: var(--bg-dark);
	background-image: radial-gradient(#2d333b 1.5px, transparent 1.5px);
	background-size: 20px 20px;
	position: relative;
	border: 1px solid var(--border-glass);
	border-top: none;
}

.flow-centered-container {
	width: 1000px;
	height: 100%;
	margin: 0 auto;
	position: relative;
}

.acc-item {
	margin-bottom: 20px;
	border: 1px solid var(--border-glass);
	background: var(--bg-panel);
	border-radius: 8px;
	overflow: hidden;
	transition: 0.3s;
}

.acc-item.active {
	border-color: var(--primary);
	box-shadow: 0 0 40px rgba(255, 140, 0, 0.05);
}

.acc-header {
	padding: 25px 30px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--bg-panel-light);
}

.acc-body {
	display: none;
	background: var(--bg-dark);
	position: relative;
}

.acc-body.open {
	display: block;
}

/* SVG Elements */
.connections-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}

.conn-path {
	fill: none;
	stroke: var(--line-color);
	stroke-width: 2px;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
}

.acc-item.active .conn-path {
	animation: drawLine 1.5s forwards ease-out;
}

@keyframes drawLine {
	to {
		stroke-dashoffset: 0;
	}
}

/* Nodes */
.wf-node-real {
	position: absolute;
	background: #242c38;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	padding: 0;
	width: 180px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
	z-index: 10;
	opacity: 0;
	transform: translateY(10px);
}

.acc-item.active .wf-node-real {
	animation: fadeInNode 0.5s forwards;
}

@keyframes fadeInNode {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wf-node-real:hover {
	transform: scale(1.05);
	border-color: #fff;
	z-index: 20;
}

.node-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.node-body {
	padding: 8px 10px;
	font-size: 0.65rem;
	color: #94a3b8;
	font-family: var(--font-mono);
}

/* Status Indicators */
.status-indicator {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid #242c38;
}

.st-success {
	background: var(--success);
}

.st-warn {
	background: var(--warning);
}

.st-error {
	background: var(--error);
}

.flash-green {
	animation: flashSuccess 3s infinite;
}

.flash-red {
	animation: flashError 3s infinite;
}

.flash-yellow {
	animation: flashWarn 3s infinite;
}

@keyframes flashSuccess {

	0%,
	90% {
		border-color: rgba(255, 255, 255, 0.1);
	}

	95% {
		border-color: var(--success);
		box-shadow: 0 0 25px rgba(0, 230, 118, 0.6);
	}

	100% {
		border-color: rgba(255, 255, 255, 0.1);
	}
}

@keyframes flashError {

	0%,
	90% {
		border-color: rgba(255, 255, 255, 0.1);
	}

	95% {
		border-color: var(--error);
		box-shadow: 0 0 25px rgba(255, 95, 86, 0.6);
	}

	100% {
		border-color: rgba(255, 255, 255, 0.1);
	}
}

@keyframes flashWarn {

	0%,
	90% {
		border-color: rgba(255, 255, 255, 0.1);
	}

	95% {
		border-color: var(--warning);
		box-shadow: 0 0 25px rgba(255, 189, 46, 0.6);
	}

	100% {
		border-color: rgba(255, 255, 255, 0.1);
	}
}

/* Terminal & Log */
.bottom-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--border-glass);
}

.terminal-log {
	background: #000;
	padding: 15px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: #ccc;
	height: 160px;
	overflow-y: auto;
	border-right: 1px solid var(--border-glass);
}

.log-line.new {
	border-left: 2px solid var(--primary);
	padding-left: 5px;
}

.comparison-box {
	background: var(--bg-panel);
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.comp-row {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 5px 0;
	font-size: 0.85rem;
}

.comp-val.good {
	color: var(--success);
}

.comp-val.bad {
	color: var(--error);
	text-decoration: line-through;
	opacity: 0.7;
}

/* Tooltip & Responsive Automation */
#floating-tooltip {
	position: fixed;
	background: rgba(13, 17, 23, 0.95);
	border: 1px solid var(--primary);
	padding: 12px;
	border-radius: 4px;
	color: #fff;
	font-size: 0.8rem;
	pointer-events: none;
	z-index: 99999;
	display: none;
	backdrop-filter: blur(5px);
}

.desktop-info-box {
	background: var(--bg-panel);
	border: 1px solid var(--primary);
	border-left: 5px solid var(--primary);
	padding: 20px;
	margin-bottom: 40px;
	display: none;
}

@media (max-width: 900px) {
	.desktop-info-box {
		display: block;
	}

	.bottom-panel {
		grid-template-columns: 1fr;
	}

	.terminal-log {
		border-right: none;
		border-bottom: 1px solid var(--border-glass);
		height: 120px;
	}

	.n8n-canvas-wrapper {
		height: auto;
		min-height: 400px;
		padding: 40px 10px;
		background-image: none;
	}

	.flow-centered-container {
		width: 100%;
		margin: 0;
	}

	.connections-layer {
		display: none;
	}

	.wf-node-real {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		max-width: 320px;
		margin: 0 auto 40px auto;
		opacity: 1 !important;
		transform: none !important;
	}

	.wf-node-real::after {
		content: '↓';
		position: absolute;
		bottom: -30px;
		left: 50%;
		transform: translateX(-50%);
		color: var(--line-color);
		font-size: 1.5rem;
		font-weight: bold;
	}

	.wf-node-real:last-child::after {
		display: none;
	}
}

/* ========================================= 8. CONSULTING TRIGGER (Bottom CTA) ========================================= */
.consulting-trigger {
	background: linear-gradient(135deg, #131722, #0b0e14);
	border: 1px solid var(--border-glass);
	padding: 80px 40px;
	text-align: center;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	margin-top: 60px;
}

.consulting-trigger::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* ========================================= 9. SERVICES / PRICING SPECIFICS ========================================= */
.hero-services {
	padding: 100px 0 50px 0;
}

.price-card {
	background: var(--bg-panel);
	border: 1px solid var(--border-glass);
	padding: 30px 25px;
	border-radius: 12px;
	transition: all 0.3s ease;
	position: relative;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.price-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px var(--primary-glow);
}

.price-card.featured {
	border: 3px solid var(--primary);
	background: linear-gradient(160deg, #181d2a 0%, var(--bg-panel) 100%);
	box-shadow: 0 0 40px var(--primary-glow);
	transform: scale(1.05);
}

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

.tag-featured {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	background: var(--primary);
	color: var(--bg-dark);
	padding: 5px 15px;
	font-size: 0.8rem;
	border-radius: 0 0 10px 10px;
	font-weight: bold;
	z-index: 10;
	letter-spacing: 1px;
}

.price-setup {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-top: 10px;
	margin-bottom: 5px;
}

.price-monthly {
	font-size: 3rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 30px;
}

.price-monthly span {
	font-size: 1.2rem;
	font-weight: 400;
	color: var(--text-muted);
}

.feature-list {
	list-style: none;
	padding: 0;
	margin-bottom: 30px;
	text-align: left;
}

.feature-list li {
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	color: #ccc;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
}

.feature-list li:last-child {
	border-bottom: none;
}

.feature-list i {
	color: #2ecc71;
	margin-right: 12px;
	font-size: 1.1rem;
}

@media (max-width: 992px) {
	.price-card.featured {
		transform: scale(1.0);
	}
}

/* ========================================= 10. ONEPAGE & PRODUCT SPECIFICS ========================================= */
/* Monitor */
.monitor-wrapper,
.monitor-luxury-wrapper {
	position: relative;
	width: 100%;
	perspective: 1000px;
}

.monitor-bezel,
.monitor-frame {
	background: #0e121b;
	border: 1px solid #333;
	border-radius: 12px 12px 0 0;
	padding: 10px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
	position: relative;
	z-index: 2;
	transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Luxury Monitor Variation */
.monitor-frame {
	background: #1a1f2e;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.monitor-frame:hover {
	transform: translateY(-5px);
	box-shadow: 0 30px 60px rgba(255, 140, 0, 0.1);
}

.webcam-dot {
	width: 6px;
	height: 6px;
	background: #222;
	border-radius: 50%;
	margin: 0 auto 8px auto;
	box-shadow: inset 0 0 2px #000;
}

.monitor-screen {
	background: #000;
	aspect-ratio: 16/9;
	overflow-x: auto;
	display: flex;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	border: 1px solid #222;
}

.monitor-screen::-webkit-scrollbar {
	display: none;
}

.monitor-slide {
	min-width: 100%;
	height: 100%;
	scroll-snap-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.monitor-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 0.5s ease;
}

.monitor-stand,
.monitor-stand-lux {
	height: 30px;
	width: 120px;
	background: linear-gradient(180deg, #0e121b 0%, #1a1f2c 100%);
	margin: 0 auto;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	z-index: 1;
}

/* Lux Stand Variation */
.monitor-stand-lux {
	background: linear-gradient(180deg, #1a1f2e 0%, var(--bg-dark) 100%);
	clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
}

.monitor-base,
.monitor-base-lux {
	height: 4px;
	width: 180px;
	background: #2a2f3c;
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.swipe-hint {
	text-align: center;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 15px;
	animation: fadeInOut 2s infinite;
	font-family: monospace;
}

@keyframes fadeInOut {

	0%,
	100% {
		opacity: 0.4;
	}

	50% {
		opacity: 1;
	}
}

/* Slider Animation */
.slide-container {
	display: flex;
	width: 300%;
	animation: slideShow 15s infinite ease-in-out;
}

.slide-img {
	width: 33.333%;
	height: 100%;
	object-fit: cover;
}

@keyframes slideShow {

	0%,
	30% {
		transform: translateX(0);
	}

	33%,
	63% {
		transform: translateX(-33.333%);
	}

	66%,
	96% {
		transform: translateX(-66.666%);
	}

	100% {
		transform: translateX(0);
	}
}

/* Maintenance Explainer */
.maintenance-explainer {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(11, 14, 20, 0) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 40px;
	margin: 60px 0;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 50px;
	align-items: center;
}

.maint-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.1);
	color: var(--primary);
	padding: 5px 10px;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 15px;
	border-radius: 4px;
	font-weight: 600;
}

.specs-box,
.specs-box.shop-card-style {
	background: var(--bg-panel);
	border: 1px solid var(--border-glass);
	padding: 30px;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.specs-list,
.shop-specs-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.spec-item,
.spec-row,
.shop-spec-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	color: #ccc;
	font-size: 0.9rem;
}

.spec-item:last-child,
.spec-row:last-child,
.shop-spec-item:last-child {
	border-bottom: none;
}

.spec-check,
.spec-label i {
	color: var(--primary);
	margin-right: 12px;
	font-size: 1rem;
	width: 20px;
	text-align: center;
}

.spec-label {
	display: flex;
	align-items: center;
	gap: 10px;
}

.spec-value {
	font-weight: bold;
	color: #fff;
	font-family: var(--font-mono);
	background: rgba(255, 255, 255, 0.05);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: right;
}

/* Pricing Console (Product Pages) */
.pricing-console {
	background: radial-gradient(circle at center, #161b29 0%, #0b0e14 100%);
	border: 1px solid var(--primary);
	border-radius: 8px;
	padding: 40px;
	text-align: center;
	position: relative;
	box-shadow: 0 0 30px rgba(255, 140, 0, 0.1);
}

.price-tag {
	font-size: 3rem;
	font-weight: 800;
	color: #fff;
	font-family: var(--font-main);
	margin-bottom: 5px;
}

.price-sub {
	color: var(--primary);
	font-family: var(--font-mono);
	font-size: 1rem;
	margin-bottom: 25px;
	display: block;
}

/* Product Feature Grids */
.shop-grid,
.lux-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 40px;
}

.shop-card,
.lux-card {
	background: var(--bg-panel);
	border: 1px solid var(--border-glass);
	padding: 30px;
	border-radius: 6px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.shop-card:hover,
.lux-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-title,
.lux-content h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #fff;
}

.feature-text,
.lux-content p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* Grid 2 Tech/Lux Variant */
.grid-2-tech,
.grid-2-lux,
.grid-2-shop {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 50px;
	align-items: center;
}

@media (max-width: 900px) {

	.grid-2-tech,
	.grid-2-lux,
	.grid-2-shop,
	.maintenance-explainer {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.monitor-wrapper,
	.monitor-luxury-wrapper {
		max-width: 500px;
		margin: 0 auto;
	}
}

/* ========================================= 11. SHOP SPECIFICS (Add-On) ========================================= */
.shop-dashboard-wrapper {
	position: relative;
	perspective: 1500px;
	z-index: 20;
	margin-top: 20px;
	display: block;
	width: 100%;
}

.dashboard-main {
	background: #1a1f2e;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	transform: rotateX(5deg);
	transition: transform 0.5s ease;
}

.dashboard-main:hover {
	transform: rotateX(0deg) scale(1.01);
	box-shadow: 0 40px 100px rgba(255, 140, 0, 0.1);
}

.db-header {
	background: #0f111a;
	padding: 10px 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.db-body {
	padding: 0;
	line-height: 0;
}

.db-mockup-img {
	width: 100%;
	height: auto;
	display: block;
	opacity: 0.95;
}

/* Tech Stack Below Monitor */
.tech-stack-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	padding: 10px 0;
	margin-top: -50px;
	position: relative;
	z-index: 25;
}

.tech-icon-box {
	text-align: center;
	cursor: default;
	transition: all 0.3s ease;
	opacity: 0.5;
}

.tech-icon-box i {
	font-size: 1.5rem;
	color: #fff;
	display: block;
	transition: all 0.3s ease;
}

.tech-icon-box:hover {
	opacity: 1;
	transform: translateY(-3px);
}

.tech-icon-box:hover i {
	color: var(--primary);
	filter: drop-shadow(0 0 10px var(--primary));
}

/* Premium Header Gradient */
.premium-header-wrapper {
	text-align: center;
	margin-bottom: 80px;
	position: relative;
}

.headline-gradient {
	font-size: 2.8rem;
	font-weight: 700;
	background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 20px;
	letter-spacing: -1px;
}

.subline-premium {
	font-size: 1.1rem;
	color: var(--text-muted);
	max-width: 650px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ========================================= 12. FOOTER ========================================= */
footer {
	background: #080a10;
	border-top: 1px solid var(--border-glass);
	padding: 60px 0;
	color: var(--text-muted);
	font-size: 0.9rem;
	text-align: center;
}

.footer-links a {
	margin: 0 10px;
	color: var(--text-muted);
}

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


/* =========================================
   12. ABOUT PAGE SPECIFICS
   ========================================= */
.shop-hero-about {
	padding-top: 140px;
	padding-bottom: 80px;
}

.hero-content-left {
	padding-right: 20px;
}

.shop-tag {
	display: inline-block;
	color: var(--primary);
	font-family: var(--font-mono);
	letter-spacing: 1px;
	margin-bottom: 15px;
	font-size: 0.9rem;
}

.hero-title-shop {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 25px;
}

.hero-subtext {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 90%;
	margin-bottom: 30px;
	line-height: 1.7;
}

/* Badges Stack */
.hero-badges-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 40px;
}

.tech-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-glass);
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 0.9rem;
	width: fit-content;
	transition: 0.3s;
}

.tech-badge i {
	color: var(--primary);
	width: 20px;
	text-align: center;
}

.tech-badge:hover {
	border-color: var(--primary);
	background: rgba(255, 140, 0, 0.05);
}

/* Metrics Row */
.hero-metrics-row {
	display: flex;
	gap: 30px;
}

.metric-pill {
	text-align: center;
}

.metric-value {
	display: block;
	font-size: 1.8rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	margin-bottom: 5px;
}

.metric-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Neo Visual (Complex Animation) */
.hero-visual-neo {
	position: relative;
	width: 100%;
	height: 450px;
	background: radial-gradient(circle at center, #1a1f2e 0%, #0b0e14 70%);
	border-radius: 20px;
	border: 1px solid var(--border-glass);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.neo-grid-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	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: 30px 30px;
	opacity: 0.5;
}

.neo-core {
	position: relative;
	z-index: 10;
	text-align: center;
	background: rgba(11, 14, 20, 0.8);
	backdrop-filter: blur(10px);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid var(--border-glass);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.neo-pill-label {
	background: var(--primary);
	color: #000;
	padding: 4px 10px;
	border-radius: 50px;
	font-size: 0.7rem;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 15px;
	display: inline-block;
}

.neo-core-title {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.neo-core-sub {
	font-size: 0.9rem;
	color: #aaa;
	max-width: 250px;
	margin: 0 auto 20px auto;
}

.neo-core-chips {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.neo-chip {
	font-size: 0.75rem;
	padding: 5px 10px;
	border: 1px solid #333;
	border-radius: 4px;
	color: #888;
	background: #000;
}

/* Pulse Animation Rings */
.neo-pulse-1,
.neo-pulse-2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 1px solid var(--primary);
	opacity: 0;
	pointer-events: none;
}

.neo-pulse-1 {
	width: 300px;
	height: 300px;
	animation: pulseRing 4s infinite;
}

.neo-pulse-2 {
	width: 450px;
	height: 450px;
	animation: pulseRing 4s infinite 2s;
}

@keyframes pulseRing {
	0% {
		transform: translate(-50%, -50%) scale(0.5);
		opacity: 0;
	}

	50% {
		opacity: 0.3;
	}

	100% {
		transform: translate(-50%, -50%) scale(1.2);
		opacity: 0;
	}
}

.structure-caption {
	text-align: right;
	margin-top: 10px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--line-color);
}

/* Company Roles in Cards */
.company-role {
	display: block;
	color: var(--primary);
	font-size: 0.8rem;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

@media (max-width: 900px) {
	.hero-grid-about {
		display: block;
	}

	.hero-visual-neo {
		height: 300px;
		margin-top: 40px;
	}

	.hero-metrics-row {
		justify-content: space-around;
	}
}

/* =========================================
   12. ABOUT PAGE SPECIFICS (Add-On)
   ========================================= */
.shop-hero-about { padding-top: 140px; padding-bottom: 80px; }
.hero-content-left { padding-right: 20px; }
.shop-tag { 
    display: inline-block; color: var(--primary); font-family: var(--font-mono); 
    letter-spacing: 1px; margin-bottom: 15px; font-size: 0.9rem; 
}
.hero-title-shop { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; }
.hero-subtext { 
    color: var(--text-muted); font-size: 1.1rem; max-width: 90%; 
    margin-bottom: 30px; line-height: 1.7; 
}

/* Badges Stack */
.hero-badges-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.tech-badge { 
    display: inline-flex; align-items: center; gap: 10px; 
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass); 
    padding: 10px 15px; border-radius: 4px; font-size: 0.9rem; width: fit-content; 
    transition: 0.3s; 
}
.tech-badge i { color: var(--primary); width: 20px; text-align: center; }
.tech-badge:hover { border-color: var(--primary); background: rgba(255,140,0,0.05); }

/* Metrics Row */
.hero-metrics-row { display: flex; gap: 30px; }
.metric-pill { text-align: center; }
.metric-value { 
    display: block; font-size: 1.8rem; font-weight: 800; color: #fff; 
    line-height: 1; margin-bottom: 5px; 
}
.metric-label { 
    font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; 
}

/* Neo Visual (Complex Animation) */
.hero-visual-neo { 
    position: relative; width: 100%; height: 450px; 
    background: radial-gradient(circle at center, #1a1f2e 0%, #0b0e14 70%); 
    border-radius: 20px; border: 1px solid var(--border-glass); 
    overflow: hidden; display: flex; align-items: center; justify-content: center; 
}
.neo-grid-overlay { 
    position: absolute; top:0; left:0; width:100%; height:100%; 
    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: 30px 30px; opacity: 0.5; 
}
.neo-core { 
    position: relative; z-index: 10; text-align: center; 
    background: rgba(11, 14, 20, 0.8); backdrop-filter: blur(10px); 
    padding: 30px; border-radius: 12px; border: 1px solid var(--border-glass); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}
.neo-pill-label { 
    background: var(--primary); color: #000; padding: 4px 10px; 
    border-radius: 50px; font-size: 0.7rem; font-weight: bold; 
    text-transform: uppercase; margin-bottom: 15px; display: inline-block; 
}
.neo-core-title { 
    display: block; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; 
}
.neo-core-sub { 
    font-size: 0.9rem; color: #aaa; max-width: 250px; margin: 0 auto 20px auto; 
}
.neo-core-chips { display: flex; gap: 10px; justify-content: center; }
.neo-chip { 
    font-size: 0.75rem; padding: 5px 10px; border: 1px solid #333; 
    border-radius: 4px; color: #888; background: #000; 
}

/* Pulse Animation Rings */
.neo-pulse-1, .neo-pulse-2 { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    border-radius: 50%; border: 1px solid var(--primary); opacity: 0; pointer-events: none; 
}
.neo-pulse-1 { width: 300px; height: 300px; animation: pulseRing 4s infinite; }
.neo-pulse-2 { width: 450px; height: 450px; animation: pulseRing 4s infinite 2s; }

@keyframes pulseRing { 
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; } 
    50% { opacity: 0.3; } 
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; } 
}

.structure-caption { 
    text-align: right; margin-top: 10px; font-family: var(--font-mono); 
    font-size: 0.7rem; color: var(--line-color); 
}

/* Company Role Styling (inside Cards) */
.company-role { 
    display: block; color: var(--primary); font-size: 0.8rem; font-weight: bold; 
    text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; 
}

@media (max-width: 900px) { 
    .hero-grid-about { display: block; } 
    .hero-visual-neo { height: 300px; margin-top: 40px; } 
    .hero-metrics-row { justify-content: space-around; } 
}

/* --- NODE FLASH ANIMATION (Synchronized) --- */

/* Basis-Klasse für animierte Nodes */
.wf-node-real.anim-hit {
    /* Dauer muss exakt mit der Kugel-Loop-Dauer übereinstimmen (z.B. 3s) */
    animation-duration: 3s; 
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    border-color: rgba(255,255,255,0.1); /* Standard Zustand */
}

/* Die Keyframes für den Aufprall */
@keyframes nodeHitSuccess {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--success); box-shadow: 0 0 25px var(--success); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

@keyframes nodeHitWarn {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--warning); box-shadow: 0 0 25px var(--warning); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

@keyframes nodeHitError {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--error); box-shadow: 0 0 25px var(--error); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

@keyframes nodeHitPrimary {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--primary); box-shadow: 0 0 25px var(--primary); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

/* Zuweisung der Animationen */
.hit-success { animation-name: nodeHitSuccess; }
.hit-warn { animation-name: nodeHitWarn; }
.hit-error { animation-name: nodeHitError; }
.hit-primary { animation-name: nodeHitPrimary; }


/* --- EXTREME ANIMATION FIXES --- */

/* 1. Kugeln heller und größer leuchten lassen */
.data-flow-dot {
    r: 6; /* Größer */
    opacity: 0;
    fill: #fff; /* Kern ist weiß für mehr Helligkeit */
    filter: drop-shadow(0 0 8px currentColor); /* Starker Glow */
}

/* Farben für den Glow */
.anim-orange { color: var(--primary); fill: var(--primary); }
.anim-green { color: var(--success); fill: var(--success); }
.anim-red { color: var(--error); fill: var(--error); }
.anim-yellow { color: var(--warning); fill: var(--warning); }

/* 2. Die Bewegung der Kugel */
.acc-item.active .data-flow-dot {
    animation: flowPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Neue Animation: Fließt UND pulsiert */
@keyframes flowPulse {
    0% {
        offset-distance: 0%;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1.5); /* Pop-Effekt beim Start */
    }
    50% {
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* 3. Linien-Zeichnen Animation verstärken */
.conn-path {
    stroke-width: 3px; /* Etwas dicker */
    stroke-opacity: 0.4;
}
.acc-item.active .conn-path {
    animation: drawLine 1s forwards ease-out; /* Schneller (1s statt 1.5s) */
}

/* 4. Node Flash Animation verstärken */
@keyframes flashSuccess {
    0%, 100% { border-color: rgba(255,255,255,0.1); box-shadow: none; }
    50% { border-color: var(--success); box-shadow: 0 0 30px var(--success); }
}


/* =========================================
   13. AUTOMATION & ANIMATION FIXES (FINAL)
   ========================================= */

/* --- CANVAS CONTAINER & SCALING (Fix Cut-off) --- */
.n8n-canvas-wrapper {
    /* Container füllt den Platz */
    width: 100%;
    height: 600px;
    background-color: var(--bg-dark);
    background-image: radial-gradient(#2d333b 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    position: relative;
    border: 1px solid var(--border-glass);
    border-top: none;
    
    /* NEU: Flexbox zentriert den Inhalt immer perfekt */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.flow-centered-container {
    /* Feste Referenzgröße für die Grafik (Breit genug für alle Nodes) */
    width: 1000px; 
    height: 600px;
    position: relative;
    
    /* WICHTIG: Verhindert, dass Flexbox die Breite quetscht */
    flex-shrink: 0; 
    
    /* Standard Zoom (1:1) - Ursprung Mitte */
    transform-origin: center center;
    transition: transform 0.3s ease;
}

/* --- RESPONSIVE SCALING (Der "User-Friendly" Fix) --- */
/* Wenn Screen < 1200px -> Zoom auf 85% */
@media (max-width: 1200px) {
    .flow-centered-container { transform: scale(0.85); }
}

/* Wenn Screen < 900px -> Zoom auf 65% + Höhe anpassen */
@media (max-width: 900px) {
    .n8n-canvas-wrapper { height: 450px; }
    .flow-centered-container { transform: scale(0.65); }
}

/* Wenn Screen < 600px -> Zoom auf 45% + Höhe anpassen */
@media (max-width: 600px) {
    .n8n-canvas-wrapper { height: 350px; }
    .flow-centered-container { transform: scale(0.45); }
}


/* --- EXTREME ANIMATION STYLES --- */

/* 1. Kugeln heller und größer leuchten lassen */
.data-flow-dot {
    r: 6; 
    opacity: 0;
    fill: #fff; /* Kern ist weiß */
    filter: drop-shadow(0 0 8px currentColor); /* Glow in Farbe */
}

/* Farben für den Glow */
.anim-orange { color: var(--primary); fill: var(--primary); }
.anim-green { color: var(--success); fill: var(--success); }
.anim-red { color: var(--error); fill: var(--error); }
.anim-yellow { color: var(--warning); fill: var(--warning); }

/* 2. Die Bewegung der Kugel (Pulsieren während dem Flug) */
.acc-item.active .data-flow-dot {
    animation: flowPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes flowPulse {
    0% { offset-distance: 0%; opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1.5); }
    50% { transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { offset-distance: 100%; opacity: 0; transform: scale(0.5); }
}

/* 3. Linien-Zeichnen Animation verstärken */
.conn-path {
    stroke-width: 3px; 
    stroke-opacity: 0.4;
}
.acc-item.active .conn-path {
    animation: drawLine 1s forwards ease-out;
}

/* 4. NODE FLASH ANIMATION (Synchronized Hits) */
.wf-node-real.anim-hit {
    /* Dauer muss exakt mit der Kugel-Loop-Dauer übereinstimmen (PHP $cycle) */
    animation-duration: 3s; 
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    border-color: rgba(255,255,255,0.1); 
}

/* Keyframes für den Aufprall */
@keyframes nodeHitSuccess {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--success); box-shadow: 0 0 25px var(--success); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

@keyframes nodeHitWarn {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--warning); box-shadow: 0 0 25px var(--warning); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

@keyframes nodeHitError {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--error); box-shadow: 0 0 25px var(--error); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

@keyframes nodeHitPrimary {
    0%, 5% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    10% { transform: scale(1.05); border-color: var(--primary); box-shadow: 0 0 25px var(--primary); color: #fff; }
    20% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
    100% { transform: scale(1); border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

/* Zuweisung */
.hit-success { animation-name: nodeHitSuccess; }
.hit-warn { animation-name: nodeHitWarn; }
.hit-error { animation-name: nodeHitError; }
.hit-primary { animation-name: nodeHitPrimary; }


/* =========================================
   FINAL POLISH - TOOLTIP ICON (FontAwesome Version)
   ========================================= */

/* --- 1. PREISKARTEN TEXT FIX (Abstände) --- */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    text-align: left;
}
.feature-list li i {
    flex-shrink: 0;
    margin-top: 4px;
}

/* --- 2. N8N CANVAS RESPONSIVE FIX (Zoom statt Scroll) --- */
.n8n-canvas-wrapper {
    width: 100%;
    overflow: hidden; /* Versteckt Überstände */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-dark);
    position: relative;
}

.flow-centered-container {
    width: 1000px; /* Basisbreite */
    height: 600px;
    flex-shrink: 0;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

/* Aggressives Scaling für kleinere Screens */
@media (max-width: 1200px) {
    .flow-centered-container { transform: scale(0.8); }
}
@media (max-width: 900px) {
    .n8n-canvas-wrapper { height: 450px; }
    .flow-centered-container { transform: scale(0.6); }
}
@media (max-width: 600px) {
    .n8n-canvas-wrapper { height: 350px; }
    .flow-centered-container { transform: scale(0.42); }
}




    .compare-section {
        background: #0d1016;
        border-top: 1px solid var(--border-glass);
    }

    /* Tabellen Styles */
    .table-responsive {
        overflow-x: auto;
        border-radius: 8px;
        border: 1px solid var(--border-glass);
        background: var(--bg-panel);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .compare-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 700px;
    }

    .compare-table th, 
    .compare-table td {
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #ccc;
        font-size: 0.9rem;
        vertical-align: middle;
    }

    .compare-table th {
        background: rgba(255, 255, 255, 0.02);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #fff;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .compare-table th.feature-col {
        text-align: left;
        width: 30%;
        color: var(--primary);
    }

    .compare-table td.feature-name {
        text-align: left;
        font-weight: 600;
        color: #fff;
    }

    /* Highlight Column (Corporate) */
    .compare-table .col-highlight {
        background: rgba(255, 140, 0, 0.03);
        border-left: 1px solid rgba(255, 140, 0, 0.1);
        border-right: 1px solid rgba(255, 140, 0, 0.1);
    }
    .compare-table th.col-highlight {
        color: var(--primary);
        border-top: 3px solid var(--primary);
    }

    /* Icons & Links */
    .fa-check-circle { color: var(--success); font-size: 1.1rem; }
    .fa-times-circle { color: var(--text-muted); opacity: 0.3; font-size: 1.1rem; }
    .fa-infinity { color: var(--primary); font-size: 0.9rem; }
    
    .link-automation {
        color: var(--primary);
        text-decoration: none;
        border-bottom: 1px dashed var(--primary);
        transition: 0.3s;
    }
    .link-automation:hover { color: #fff; border-bottom-color: #fff; }

    /* Domain Service Box */
    .domain-service-box {
        background: linear-gradient(135deg, #131722 0%, #0b0e14 100%);
        border: 1px dashed var(--line-color);
        border-radius: 8px;
        padding: 30px;
        margin: 60px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    
    .domain-price {
        font-size: 1.5rem;
        color: #fff;
        font-weight: 700;
        white-space: nowrap;
    }

    /* Disclaimer Box */
    .agency-disclaimer {
        margin-top: 80px;
        padding: 30px;
        background: rgba(255, 140, 0, 0.02);
        border-left: 4px solid var(--primary);
        border-radius: 0 6px 6px 0;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    @media (max-width: 768px) {
        .domain-service-box { flex-direction: column; text-align: center; }
    }