/* ==========================================================================
   n8n EXPERT PORTFOLIO CSS DESIGN SYSTEM
   ========================================================================== */

/* --- Reset & Base Variables --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette */
  --bg-dark: #07040e;
  --bg-card: rgba(22, 18, 38, 0.6);
  --bg-card-hover: rgba(33, 27, 56, 0.85);
  --n8n-orange: #ff9b26;
  --n8n-orange-rgb: 255, 155, 38;
  --n8n-red: #ee4f27;
  --n8n-red-rgb: 238, 79, 39;
  --n8n-purple: #b83dff;
  --n8n-purple-rgb: 184, 61, 255;
  --n8n-cyan: #00d2ff;
  --n8n-cyan-rgb: 0, 210, 255;
  --n8n-green: #4ade80;
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Borders & Shadows */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.8);
  --shadow-glow-orange: 0 0 30px rgba(255, 155, 38, 0.25);
  --shadow-glow-purple: 0 0 30px rgba(184, 61, 255, 0.25);
  
  /* Fonts */
  --font-family-title: 'Outfit', sans-serif;
  --font-family-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

/* --- Dot Grid Background --- */
.canvas-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  background-color: var(--bg-dark);
  background-size: 28px 28px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1.2px, transparent 1.2px);
  pointer-events: none;
}

/* Background glows */
.canvas-bg::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(255, 155, 38, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.canvas-bg::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(184, 61, 255, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-family-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gradient-text {
  background: linear-gradient(135deg, var(--n8n-orange) 10%, var(--n8n-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Badges & Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.03);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge.glow-orange {
  color: var(--n8n-orange);
  border-color: rgba(255, 155, 38, 0.3);
  background-color: rgba(255, 155, 38, 0.05);
  box-shadow: var(--shadow-glow-orange);
}

.badge.glow-purple {
  color: var(--n8n-purple);
  border-color: rgba(184, 61, 255, 0.3);
  background-color: rgba(184, 61, 255, 0.05);
  box-shadow: var(--shadow-glow-purple);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--n8n-orange) 0%, var(--n8n-red) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(238, 79, 39, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(238, 79, 39, 0.4), 0 0 0 4px rgba(255, 155, 38, 0.15);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--n8n-orange);
}

.btn-outline:hover {
  background: rgba(255, 155, 38, 0.1);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-link {
  background: none;
  border: none;
  color: var(--n8n-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--n8n-red);
}

/* --- Header & Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background-color: rgba(9, 6, 17, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background-color: rgba(7, 4, 14, 0.9);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}

.logo-icon svg {
  height: 24px;
  width: auto;
}

.badge-text {
  font-size: 0.7rem;
  background: linear-gradient(135deg, var(--n8n-orange) 0%, var(--n8n-red) 100%);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: clamp(8rem, 12vw, 10rem);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* n8n Live Simulator Box */
.hero-canvas {
  background-color: #0b0718;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(184, 61, 255, 0.08);
  height: 480px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.canvas-header {
  padding: 0.85rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.canvas-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.canvas-dots .dot.red { background-color: #ef4444; }
.canvas-dots .dot.yellow { background-color: #f59e0b; }
.canvas-dots .dot.green { background-color: #10b981; }

.canvas-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-run {
  background: rgba(255, 155, 38, 0.15);
  border: 1px solid var(--n8n-orange);
  color: var(--n8n-orange);
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-run:hover {
  background: var(--n8n-orange);
  color: #000;
  box-shadow: 0 0 12px var(--n8n-orange-glow);
}

.btn-run.running {
  background: var(--n8n-red);
  border-color: var(--n8n-red);
  color: #fff;
  cursor: not-allowed;
}

.canvas-body {
  flex: 1;
  position: relative;
  background-size: 20px 20px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  overflow: hidden;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-body:active {
  cursor: grabbing;
}

.canvas-content {
  width: 750px;
  height: 380px;
  position: relative;
  flex-shrink: 0;
  transform-origin: center center;
}

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

/* Connection Line styling */
.connection-line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  transition: stroke 0.3s, stroke-width 0.3s;
}

.connection-line.active {
  stroke: var(--n8n-orange);
  stroke-width: 3;
}

.pulse-circle {
  fill: var(--n8n-orange);
  filter: drop-shadow(0 0 6px var(--n8n-orange));
}

/* n8n Node UI on Canvas */
.node {
  position: absolute;
  background-color: #17122b;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  width: 170px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  user-select: none;
}

.node:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.node.active {
  border-color: var(--n8n-orange);
  box-shadow: 0 0 15px rgba(255, 155, 38, 0.3);
}

.node.executing {
  animation: nodePulse 1.2s infinite ease-in-out;
  border-color: var(--n8n-orange);
}

.node.success {
  border-color: var(--n8n-green);
}

@keyframes nodePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 155, 38, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 155, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 155, 38, 0); }
}

.node-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.node-info-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.node-label {
  font-family: var(--font-family-title);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
}

.node-status-text {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

/* Node statuses styling */
.node.success .node-status-text {
  color: var(--n8n-green);
}

.node.executing .node-status-text {
  color: var(--n8n-orange);
}

/* Connecting port dots */
.port {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2e264f;
  border: 2px solid #0b0718;
  top: calc(50% - 5px);
}

.port.input {
  left: -6px;
}

.port.output {
  right: -6px;
}

.node.success .port, .node.active .port {
  background-color: var(--n8n-orange);
}

/* Canvas Footer options */
.canvas-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.canvas-status {
  color: var(--text-secondary);
  font-weight: 500;
}

.flow-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.flow-selector select {
  background-color: #17122b;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  outline: none;
  cursor: pointer;
  font-weight: 500;
}

/* --- Verified Creator Section --- */
.creator-card {
  border: 1px solid rgba(255, 155, 38, 0.15);
  box-shadow: 0 8px 32px rgba(255, 155, 38, 0.05);
}

.creator-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.creator-badge-showcase {
  display: flex;
  justify-content: center;
}

.n8n-badge-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 155, 38, 0.3);
  animation: rotateClockwise 20s linear infinite;
}

.badge-core {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, #251a3a 0%, #0d0918 100%);
  border: 3px solid var(--n8n-orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-orange), inset 0 0 20px rgba(255, 155, 38, 0.2);
}

.badge-core .icon {
  font-size: 2.2rem;
  color: var(--n8n-orange);
  font-weight: bold;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px rgba(255, 155, 38, 0.5);
}

.badge-core .name {
  font-family: var(--font-family-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.badge-core .status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.2rem;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.creator-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-family-title);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--n8n-orange);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Workflows Section --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.workflows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.workflow-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.workflow-card.active-preview {
  border-color: var(--n8n-orange);
  box-shadow: var(--shadow-glow-orange);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.card-icon svg.text-orange { color: var(--n8n-orange); }
.card-icon svg.text-magenta { color: var(--n8n-purple); }
.card-icon svg.text-cyan { color: var(--n8n-cyan); }

.workflow-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.link-external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.link-external:hover {
  color: #fff;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.2rem;
}

.service-box:hover {
  border-color: var(--n8n-orange);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(255, 155, 38, 0.08);
  border: 1px solid rgba(255, 155, 38, 0.2);
  color: var(--n8n-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-box h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.service-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- ROI / Savings Calculator Section --- */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.savings-highlights {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.savings-highlight-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(27, 23, 40, 0.4) 0%, rgba(13, 9, 24, 0.4) 100%);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.savings-highlight-card .value {
  font-family: var(--font-family-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--n8n-orange);
  line-height: 1.2;
}

.savings-highlight-card .lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.calculator-card {
  padding: 2.5rem;
  border: 1px solid rgba(184, 61, 255, 0.15);
  box-shadow: 0 8px 32px rgba(184, 61, 255, 0.05);
}

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

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.slider-header label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.val-display {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--n8n-purple);
  font-size: 1.1rem;
}

/* Custom range sliders styling */
.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1e1938;
  outline: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--n8n-purple);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(184, 61, 255, 0.6);
  transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.custom-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--n8n-purple);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(184, 61, 255, 0.6);
  transition: transform 0.1s;
}

.custom-slider::-moz-range-thumb:hover {
  transform: scale(1.25);
}

.calc-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

.calc-output {
  margin-bottom: 2rem;
}

.output-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.output-row strong {
  font-family: var(--font-family-title);
  color: #fff;
  font-size: 1.25rem;
}

.output-row.highlight {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  background: rgba(255, 155, 38, 0.04);
  border: 1px solid rgba(255, 155, 38, 0.15);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.output-row.highlight strong {
  color: var(--n8n-orange);
  font-size: 1.5rem;
  text-shadow: 0 0 15px rgba(255, 155, 38, 0.2);
}

/* --- Footer --- */
.footer {
  position: relative;
  background-color: #06030c;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  z-index: 1;
  background: linear-gradient(to bottom, #06030c 5%, transparent 25%),
              radial-gradient(circle at 10% 80%, rgba(255, 155, 38, 0.08) 0, transparent 40%),
              radial-gradient(circle at 90% 60%, rgba(184, 61, 255, 0.08) 0, transparent 40%),
              linear-gradient(to bottom, rgba(238, 79, 39, 0.03) 0, rgba(238, 79, 39, 0.08) 45%, rgba(238, 79, 39, 0) 100%);
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 5;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4, .footer-connect h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--n8n-orange);
  padding-left: 4px;
}

.footer-connect p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.connect-btn {
  display: inline-flex;
  padding: 0.75rem 1.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom .creations {
  max-width: 450px;
  text-align: right;
  font-size: 0.8rem;
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .creator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .stats-row {
    justify-content: center;
  }
  
  .workflows-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-dark);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }
  
  .nav-links.open {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .workflows-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom .creations {
    text-align: center;
  }
  
  .node {
    width: 145px;
    padding: 8px 10px;
    gap: 8px;
  }
  
  .node-label {
    font-size: 0.75rem;
  }
  
  .node-icon-wrapper {
    width: 28px;
    height: 28px;
  }
}
