@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-base: #040508;
  --bg-glass: rgba(10, 12, 22, 0.45);
  --bg-glass-hover: rgba(15, 18, 32, 0.6);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-glow: rgba(255, 255, 255, 0.18);
  
  /* Neon Accents */
  --color-neon-blue: #00f0ff;
  --color-neon-purple: #bd00ff;
  --color-neon-green: #00ffaa;
  --color-neon-orange: #ff7b00;
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --text-white: #ffffff;
  
  /* Typography */
  --font-title: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Animations & Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-speed: 0.4s;
  
  /* Spacing & Layout */
  --container-width: 1200px;
}

/* --- Reset & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* --- Animated Ambient Background Glows --- */
.ambient-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

.glow-blob-1 {
  top: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-neon-blue) 0%, rgba(0, 240, 255, 0) 70%);
  animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-blob-2 {
  bottom: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-neon-purple) 0%, rgba(189, 0, 255, 0) 70%);
  animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.glow-blob-3 {
  top: 40%;
  left: 45%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-neon-green) 0%, rgba(0, 255, 170, 0) 70%);
  opacity: 0.15;
  animation: floatGlow 18s infinite alternate ease-in-out;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -40px) scale(1.15);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* --- Helper Classes --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Glassmorphic Button --- */
.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-speed) var(--ease-premium);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: 0.5s;
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.05);
}

.btn-glass.btn-primary {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(189, 0, 255, 0.1));
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.btn-glass.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(189, 0, 255, 0.2));
  border-color: var(--color-neon-blue);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
}

/* --- Floating Glass Header --- */
.floating-header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-speed) var(--ease-premium);
}

.navbar-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) var(--ease-premium);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-white);
  text-decoration: none;
}

.brand-logo span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-neon-blue);
  box-shadow: 0 0 10px var(--color-neon-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.nav-link:hover {
  color: var(--text-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Shrink header style when scrolled */
.header-scrolled {
  top: 0;
}

.header-scrolled .navbar-glass {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 1rem 4rem;
  background: rgba(4, 5, 8, 0.85);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-neon-blue);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-neon-blue);
  box-shadow: 0 0 8px var(--color-neon-blue);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

/* Hero Visual Console Widget */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-console {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  background: rgba(10, 12, 22, 0.5);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

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

.console-dots {
  display: flex;
  gap: 0.35rem;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.console-title {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.console-body {
  padding: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #a5b4fc;
}

.console-line {
  margin-bottom: 0.5rem;
}

.console-line.comment { color: var(--text-muted); }
.console-line.keyword { color: #f472b6; }
.console-line.string { color: var(--color-neon-green); }
.console-line.value { color: var(--color-neon-blue); }

.console-line .cursor-char {
  animation: blinkCursor 1s step-end infinite;
  color: var(--color-neon-blue);
  font-weight: 800;
}

@keyframes blinkCursor {
  from, to { opacity: 0 }
  50% { opacity: 1 }
}

/* --- Section Formatting --- */
.section-wrapper {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-neon-blue);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* --- Bento Grid Section --- */
.bento-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.bento-row-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

/* Bento Card Style */
.bento-card {
  position: relative;
  border-radius: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 2.5rem;
  overflow: hidden;
  transition: transform var(--transition-speed) var(--ease-premium), 
              box-shadow var(--transition-speed) var(--ease-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Mouse cursor glow tracker */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(0, 240, 255, 0.3),
    transparent 40%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

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

.bento-card-content {
  position: relative;
  z-index: 3;
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-neon-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.bento-card-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.bento-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 85%;
  margin-bottom: 2rem;
}

/* Bento Widget Previews (Inside Bento Cards) */
.bento-widget {
  position: relative;
  width: 100%;
  height: 220px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  margin-top: auto;
  z-index: 1;
}

/* --- Widget 1: Cloud Migration Simulator --- */
.widget-cloud {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1rem;
}

.cloud-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.cloud-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-neon-purple), var(--color-neon-blue));
  border-radius: 10px;
  transition: width 1.5s var(--ease-premium);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.cloud-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.8rem;
}

.status-label {
  color: var(--text-secondary);
}

.status-val {
  color: var(--color-neon-blue);
  font-weight: bold;
}

.cloud-console {
  background: rgba(0, 0, 0, 0.45);
  padding: 0.85rem;
  border-radius: 8px;
  height: 120px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--color-neon-green);
  overflow-y: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.cloud-console-line {
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.cloud-btn {
  align-self: flex-start;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  cursor: pointer;
  font-family: var(--font-title);
  transition: all 0.3s;
}

.cloud-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--color-neon-blue);
}

/* --- Widget 2: Data & Database Grid --- */
.widget-data {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.db-query-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.5rem;
}

.db-query-btn {
  background: none;
  border: none;
  color: var(--color-neon-blue);
  cursor: pointer;
  font-family: monospace;
  font-weight: bold;
}

.db-table {
  width: 100%;
  margin-top: 0.5rem;
  font-family: monospace;
  font-size: 0.75rem;
  border-collapse: collapse;
}

.db-table th, .db-table td {
  padding: 0.35rem 0.5rem;
  text-align: left;
}

.db-table th {
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.db-table td {
  color: #cbd5e1;
}

.db-status-badge {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.65rem;
  background: rgba(0,255,170,0.1);
  color: var(--color-neon-green);
}

/* --- Widget 3: Webhook Automation --- */
.widget-webhook {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.webhook-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  transition: .4s var(--ease-premium);
  border-radius: 34px;
  border: 1px solid var(--border-glass);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-white);
  transition: .4s var(--ease-premium);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(189, 0, 255, 0.2);
  border-color: var(--color-neon-purple);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: var(--color-neon-purple);
  box-shadow: 0 0 8px var(--color-neon-purple);
}

.webhook-console {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.75rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  height: 120px;
  overflow-y: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.webhook-pulse-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.webhook-active .pulse-dot {
  background-color: var(--color-neon-purple);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(189, 0, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(189, 0, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(189, 0, 255, 0); }
}

/* --- Widget 4: UI/UX Theme Picker --- */
.widget-uiux {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 1.25rem;
  gap: 1rem;
  align-items: center;
}

.palette-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.palette-option {
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all 0.3s;
}

.palette-option.active {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.palette-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.ui-preview-card {
  height: 100%;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s var(--ease-premium);
}

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

.ui-preview-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ui-accent, var(--color-neon-blue));
  box-shadow: 0 0 8px var(--ui-accent, var(--color-neon-blue));
  transition: background 0.5s;
}

.ui-preview-bar {
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.ui-preview-title {
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text-white);
}

.ui-preview-bar-large {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* --- Tech Stack Section --- */
.tech-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 2rem;
}

.tech-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: all var(--transition-speed) var(--ease-premium);
  cursor: pointer;
  min-height: 140px;
}

.tech-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  filter: grayscale(1) opacity(0.4);
  transition: all var(--transition-speed) var(--ease-premium);
}

.tech-name {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: all var(--transition-speed) var(--ease-premium);
}

/* Interactive hover on tech items */
.tech-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: all var(--transition-speed) var(--ease-premium);
}

.tech-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(var(--tech-glow, 0, 240, 255), 0.1);
}

.tech-item:hover .tech-icon {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.tech-item:hover .tech-name {
  color: var(--text-white);
}

.tech-item:hover::after {
  border-color: rgba(var(--tech-glow, 0, 240, 255), 0.3);
  box-shadow: inset 0 0 15px rgba(var(--tech-glow, 0, 240, 255), 0.05);
}

/* --- Work Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 3rem 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-speed) var(--ease-premium);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.process-number {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

.process-badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.step-1 .process-badge {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-neon-blue);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.step-2 .process-badge {
  background: rgba(189, 0, 255, 0.1);
  color: var(--color-neon-purple);
  border: 1px solid rgba(189, 0, 255, 0.2);
}

.step-3 .process-badge {
  background: rgba(0, 255, 170, 0.1);
  color: var(--color-neon-green);
  border: 1px solid rgba(0, 255, 170, 0.2);
}

.process-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Connective Line (for desktops) */
@media (min-width: 992px) {
  .process-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
      rgba(0, 240, 255, 0.1) 0%, 
      rgba(189, 0, 255, 0.2) 50%, 
      rgba(0, 255, 170, 0.1) 100%
    );
    z-index: -1;
  }
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.contact-card-glass {
  width: 100%;
  max-width: 700px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 4rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.contact-card-glass::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(189, 0, 255, 0.1) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.form-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.form-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 3rem;
}

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

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.form-label {
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.3s var(--ease-premium);
  font-size: 0.95rem;
}

/* Floating Label Logic */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.6rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-neon-blue);
  background-color: #0c0e18;
  padding: 0 0.5rem;
  border-radius: 4px;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  min-height: 20px;
  font-size: 0.85rem;
  font-family: monospace;
  transition: color 0.3s;
}

.status-success {
  color: var(--color-neon-green);
}

.status-error {
  color: #ff5f56;
}

/* --- Footer --- */
.footer-glass {
  background: rgba(4, 5, 8, 0.8);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--text-white);
}

/* --- Scroll Reveal (Intersection Observer) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .bento-container, .bento-row-2 {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-card-glass {
    padding: 2.5rem 1.5rem;
  }
  
  .navbar-glass {
    padding: 0.75rem 1.5rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-wrapper {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .bento-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .nav-menu {
    display: none; /* simple hidden for mobile, focus is services grid */
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .contact-card-glass {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .btn-glass {
    width: 100%;
  }

  .bento-card {
    padding: 1.5rem 1.15rem;
  }

  .bento-card-title {
    font-size: 1.35rem;
  }

  .bento-card-desc {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  /* Widget adjustments for mobile screen */
  .widget-uiux {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }

  .palette-selector {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }

  .palette-option {
    padding: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .ui-preview-card {
    height: 110px;
  }

  .widget-cloud {
    padding: 1rem;
  }

  .cloud-console {
    height: 100px;
    font-size: 0.75rem;
  }

  .widget-webhook {
    padding: 1rem;
  }

  .webhook-console {
    height: 100px;
    font-size: 0.75rem;
  }

  /* Reduce glows for mobile performance */
  .glow-blob {
    opacity: 0.15;
    filter: blur(80px);
  }
  
  .glow-blob-1, .glow-blob-2, .glow-blob-3 {
    width: 280px;
    height: 280px;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }
}
