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

:root {
  --bg-main: #060913;
  --bg-surface: #0a0e1a;
  --bg-card: rgba(13, 18, 32, 0.72);
  --bg-card-hover: rgba(18, 25, 44, 0.88);
  
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(99, 102, 241, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.05);
  
  --primary-blue: #2563eb;
  --primary-cyan: #38bdf8;
  --primary-purple: #8b5cf6;
  --accent-purple: #a855f7;
  
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  --text-cyan: #38bdf8;
  
  --grad-purple: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
  --grad-blue: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
  --grad-btn: linear-gradient(90deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  --grad-btn-hover: linear-gradient(90deg, #3b82f6 0%, #6366f1 50%, #9333ea 100%);
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-btn: 0 4px 20px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  min-height: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  perspective: 1400px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* 3D Background Canvas */
.bg-3d-canvas,
#bg3dCanvas,
#heroCanvas,
canvas#heroCanvas,
canvas#bg3dCanvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.65;
}

/* Background Atmosphere and Ambient Glows */
.ambient-glow {
  position: fixed !important;
  pointer-events: none !important;
  z-index: 0 !important;
  border-radius: 50%;
  filter: blur(140px);
  animation: pulseGlow 10s ease-in-out infinite alternate;
  max-width: 100vw;
  max-height: 100vh;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.08) translate(15px, -15px); opacity: 1; }
  100% { transform: scale(0.95) translate(-10px, 10px); opacity: 0.85; }
}

.glow-top-center {
  top: -80px;
  left: 30%;
  width: 600px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(99, 102, 241, 0.08) 60%, transparent 80%);
}

.glow-hero-scene {
  top: 40px;
  right: -80px;
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 75%);
  animation-duration: 12s;
}

.glow-mid-left {
  top: 40%;
  left: -120px;
  width: 550px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}

.glow-projects-right {
  top: 50%;
  right: -100px;
  width: 650px;
  height: 550px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}

.glow-bottom-cta {
  bottom: 0;
  left: 25%;
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-white);
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.7188rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-cyan);
  margin-bottom: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.8438rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-btn);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

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

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

.btn-primary:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.btn-arrow {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar,
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 19, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-logo-icon {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
  animation: logoPulse 6s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.3)); }
  50% { filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.6)); }
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-logo-text span {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

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

.nav-link {
  text-decoration: none;
  font-size: 0.8438rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px;
}

.mobile-nav-cta {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 56px 0 68px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.7188rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.hero-badge-pill .dot {
  width: 3px;
  height: 3px;
  background-color: #64748b;
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-size: 3.15rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero-title .title-break {
  display: block;
}

.hero-description {
  font-size: 0.9688rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease;
}

.hero-feature-item:hover {
  transform: translateY(-2px);
}

.hero-feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-feature-item:hover .hero-feature-icon {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #a855f7;
}

.hero-feature-text {
  font-size: 0.7188rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.25;
}

/* Hero Right: 3D Animated Workflow Workspace Scene */
.hero-scene-wrapper {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
}


.hero-device-mockup {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(10, 14, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.85), 0 0 45px -5px rgba(99, 102, 241, 0.25);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.3s ease;
  animation: float3D 6s ease-in-out infinite alternate;
}

@keyframes float3D {
  0% { transform: translateY(0px) rotateX(1deg) rotateY(-1.5deg); }
  100% { transform: translateY(-8px) rotateX(-1deg) rotateY(1.5deg); }
}

/* Card Glare Effect */
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.mockup-header {
  height: 36px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.mockup-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-title-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7188rem;
  font-weight: 600;
  color: #94a3b8;
}

.mockup-body {
  padding: 22px 18px 24px;
  position: relative;
  background: radial-gradient(circle at 60% 40%, rgba(30, 41, 59, 0.45) 0%, rgba(10, 14, 26, 0.85) 100%);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Workflow Diagram Inside Mockup */
.n8n-canvas-layout {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.n8n-sidebar-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.rail-icon {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.n8n-canvas {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.workflow-node:hover {
  transform: translateY(-4px) scale(1.08);
}

.node-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.node-box::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.node-box:hover::after {
  opacity: 1;
}

.node-box.webhook { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(15, 23, 42, 0.9)); }
.node-box.ai-agent {
  background: linear-gradient(135deg, rgba(16, 163, 127, 0.25), rgba(15, 23, 42, 0.9));
  border-color: rgba(16, 163, 127, 0.45);
  animation: agentPulse 3s ease-in-out infinite alternate;
}

@keyframes agentPulse {
  0% { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45), 0 0 0 rgba(16, 163, 127, 0); }
  100% { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 16px rgba(16, 163, 127, 0.45); }
}

.node-box.sheets { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(15, 23, 42, 0.9)); }
.node-box.slack { background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.9)); }

.node-label {
  font-size: 0.6563rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
}

.workflow-connector {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(99, 102, 241, 0.6), rgba(255, 255, 255, 0.15));
  position: relative;
  margin: 0 4px;
  margin-top: -18px;
  overflow: hidden;
}

/* Animated 3D Flow Signal Packet */
.workflow-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
  box-shadow: 0 0 8px #38bdf8;
  animation: signalFlow 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes signalFlow {
  0% { left: -20px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.workflow-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid rgba(99, 102, 241, 0.7);
}

/* Floating 3D Badges */
.floating-status-pill {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(34, 197, 94, 0.2);
  font-size: 0.7188rem;
  color: #f1f5f9;
  backdrop-filter: blur(10px);
  animation: floatBadgeBottom 5s ease-in-out infinite alternate;
}

@keyframes floatBadgeBottom {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.status-indicator-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #060913;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.status-text-title {
  font-weight: 700;
  color: #ffffff;
}

.status-text-sub {
  color: #94a3b8;
  font-size: 0.6563rem;
}

.floating-perks-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(12px);
  z-index: 10;
  animation: floatBadgeTop 5s ease-in-out infinite alternate-reverse;
}

@keyframes floatBadgeTop {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}

.floating-perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7188rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.floating-perk-item:last-child {
  margin-bottom: 0;
}

.floating-perk-item svg {
  color: #22c55e;
  flex-shrink: 0;
}

.mockup-bg-layer {
  position: absolute;
  top: -24px;
  right: -16px;
  width: 92%;
  height: 82%;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: rotate(2.2deg);
}

/* ==========================================================================
   Services Section (3D Tilt Ready)
   ========================================================================== */
.services-section {
  padding: 88px 0 76px;
  position: relative;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: 44px;
}

.services-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-title {
  font-size: 2.45rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.services-desc {
  font-size: 0.9063rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 300px;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 18px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  overflow: hidden;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.75), 0 0 30px -5px rgba(99, 102, 241, 0.3);
}

.service-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.service-card:hover .service-icon-box {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.16);
  transform: scale(1.1) translateZ(15px);
}

.service-card-title {
  font-size: 0.9688rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: #ffffff;
}

.service-card-desc {
  font-size: 0.7813rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-arrow {
  align-self: flex-end;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.7188rem;
  transition: all 0.25s ease;
}

.service-card:hover .service-card-arrow {
  background: #2563eb;
  color: #ffffff;
  border-color: transparent;
  transform: translate(3px, -3px) translateZ(20px);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.projects-section {
  padding: 76px 0 84px;
  position: relative;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.projects-title-block {
  max-width: 600px;
}

.projects-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.projects-subtitle {
  font-size: 0.9063rem;
  color: #94a3b8;
  line-height: 1.55;
}

.link-all-projects {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8438rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.link-all-projects:hover {
  color: #60a5fa;
  gap: 9px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  position: relative;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.75), 0 0 30px -5px rgba(56, 189, 248, 0.25);
}

.project-preview {
  height: 135px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 14, 26, 0.8) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.project-preview-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.project-card:hover .project-preview-graphic {
  transform: scale(1.05) translateZ(10px);
}

.project-content {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 7px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.6563rem;
  font-weight: 500;
  color: #38bdf8;
  margin-bottom: 9px;
}

.project-card-title {
  font-size: 0.9063rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.project-card-desc {
  font-size: 0.7188rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7188rem;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.project-card-link:hover {
  color: #93c5fd;
  gap: 8px;
}

/* ==========================================================================
   Why Choose Me / Stats Section
   ========================================================================== */
.stats-section {
  padding: 68px 0 76px;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 44px;
  align-items: center;
}

.stats-intro-block {
  max-width: 380px;
}

.stats-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.stats-desc {
  font-size: 0.9063rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 22px;
}

.stats-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) translateY(-2px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.4375rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.6563rem;
  color: #94a3b8;
  line-height: 1.35;
  font-weight: 500;
}

/* ==========================================================================
   Client Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 68px 0 84px;
  position: relative;
}

.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.testimonials-title-block {
  max-width: 580px;
}

.testimonials-title {
  font-size: 2.15rem;
  line-height: 1.2;
  margin-bottom: 9px;
}

.testimonials-desc {
  font-size: 0.9063rem;
  color: #94a3b8;
  line-height: 1.55;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.2);
}

.testimonial-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08);
}

.testimonial-quote {
  font-size: 0.7813rem;
  color: #cbd5e1;
  line-height: 1.5;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-author-name {
  font-size: 0.7813rem;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-author-role {
  font-size: 0.6563rem;
  color: #94a3b8;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #eab308;
  font-size: 0.7188rem;
}

/* ==========================================================================
   Call to Action (CTA) Banner
   ========================================================================== */
.cta-section {
  padding: 36px 0 76px;
  position: relative;
}

.cta-banner-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, #090e1f 0%, #151030 50%, #0b1126 100%);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
                    radial-gradient(circle at 20% 70%, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
}

.cta-banner-bg svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
}

.cta-left-block {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 660px;
}

.cta-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
  animation: chipPulse 4s ease-in-out infinite alternate;
}

@keyframes chipPulse {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); }
  100% { transform: scale(1.06); box-shadow: 0 0 25px rgba(56, 189, 248, 0.5); }
}

.cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.cta-description {
  font-size: 0.7813rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer,
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0 28px;
  position: relative;
  background: rgba(6, 9, 17, 0.95);
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-nav a {
  text-decoration: none;
  font-size: 0.7813rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

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

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8438rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.7188rem;
  color: #64748b;
}

/* ==========================================================================
   3D Scroll Reveal Animations
   ========================================================================== */
.reveal-3d {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-3d.active {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ==========================================================================
   Interactive Modals & Effects
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  perspective: 1000px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(99, 102, 241, 0.3);
  transform: translateY(30px) rotateX(-15deg) scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) rotateX(0deg) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* WhatsApp Direct Connect in Modal */
.whatsapp-direct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-direct-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.55);
  filter: brightness(1.06);
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 10px;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-divider span {
  padding: 0 10px;
}

/* Floating WhatsApp Quick Connect Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8125rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.floating-whatsapp-btn svg {
  flex-shrink: 0;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.7813rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8438rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* (Responsive breakpoints consolidated at bottom of file) */

/* ==========================================================================
   Inner Pages Specific Styles & Components
   ========================================================================== */
.page-hero {
  padding: 60px 0 45px;
  position: relative;
  text-align: center;
}

.page-hero-title {
  font-size: 2.85rem;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
}

.breadcrumbs-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7813rem;
  color: #64748b;
  margin-bottom: 18px;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumbs-bar a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs-bar a:hover {
  color: #60a5fa;
}

/* Detailed Service Breakdown Grid */
.service-deepdive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.service-deepdive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-deepdive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.15);
}

.service-deepdive-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-feature-list {
  list-style: none;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.service-feature-list li svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tech Stack Ecosystem Grid */
.tech-stack-section {
  padding: 60px 0;
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.tech-item-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tech-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(30, 41, 59, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.tech-item-name {
  font-size: 0.7813rem;
  font-weight: 600;
  color: #e2e8f0;
}

.tech-item-role {
  font-size: 0.6563rem;
  color: #94a3b8;
}

/* FAQ Accordion Component */
.faq-section {
  padding: 60px 0 70px;
}

.faq-list {
  max-width: 800px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9688rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: #38bdf8;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 22px 20px;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Page Grid */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(14px);
}

.contact-channels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.contact-channel-label {
  font-size: 0.7188rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-channel-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-channel-value a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-channel-value a:hover {
  color: #38bdf8;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(14px);
}

/* Legal Pages Styling */
.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0 auto 60px;
  max-width: 860px;
  backdrop-filter: blur(14px);
  color: #cbd5e1;
  line-height: 1.7;
}

.legal-content-card h2 {
  font-size: 1.35rem;
  color: #ffffff;
  margin: 28px 0 12px;
}

.legal-content-card p {
  margin-bottom: 16px;
  font-size: 0.9063rem;
}

.legal-content-card ul {
  margin: 12px 0 20px 24px;
  font-size: 0.9063rem;
}

/* Project Cards Clickable Behavior */
.project-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.project-card a.project-card-link {
  text-decoration: none;
}

/* ==========================================================================
   Project Detail Pages
   ========================================================================== */
.project-detail-section {
  padding: 40px 0 80px;
}

.project-detail-header {
  margin-bottom: 36px;
}

.project-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.7813rem;
  color: #cbd5e1;
}

.meta-chip strong {
  color: #38bdf8;
  font-weight: 600;
}

.project-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.metric-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
}

.metric-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Architecture Showcase Card */
.architecture-showcase-box {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin-bottom: 48px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.12);
}

.architecture-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.architecture-pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(6, 9, 19, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  flex-shrink: 0;
  padding: 14px 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.pipeline-node:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}

.pipeline-connector {
  color: #64748b;
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Two-column Content Section */
.project-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  margin-bottom: 60px;
}

.project-main-narrative h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: #ffffff;
}

.project-main-narrative h2:first-child {
  margin-top: 0;
}

.project-main-narrative p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.project-main-narrative ul {
  margin: 14px 0 24px 20px;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.project-main-narrative li {
  margin-bottom: 8px;
}

.challenge-solution-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}

.challenge-box, .solution-box {
  padding: 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.challenge-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.solution-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.challenge-box h3 {
  color: #f87171;
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.solution-box h3 {
  color: #34d399;
  font-size: 1.125rem;
  margin-bottom: 10px;
}

/* Sticky Sidebar Specifications Box */
.project-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
}

.spec-card h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.spec-item-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
}

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

.spec-label {
  color: #94a3b8;
}

.spec-value {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}

.project-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-title-link:hover {
  color: #38bdf8;
}

.project-card {
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px -10px rgba(56, 189, 248, 0.15);
}

.project-card:hover .project-card-title,
.project-card:hover .project-title-link {
  color: #38bdf8;
}

.project-card:hover .project-card-link span {
  transform: translateX(4px);
}

.project-card-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   Comprehensive Responsive System (All Viewports & Components)
   ========================================================================== */

/* Universal Responsive Guards */
img, svg, canvas, video {
  max-width: 100%;
}

pre, code {
  white-space: pre-wrap;
  word-break: break-word;
}

/* --- 1. Large Tablets & Small Laptops (<= 1100px) --- */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .page-hero-title {
    font-size: 2.45rem;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-intro {
    align-items: flex-start;
  }
  .services-desc {
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-deepdive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-intro-block {
    max-width: 100%;
  }
  .stats-cards-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .project-content-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
  }
}

/* --- 2. Tablets & Small Devices (<= 860px) --- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content-col {
    text-align: left;
  }
  .hero-scene-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 24px;
  }
  .cta-left-block {
    max-width: 100%;
  }
  .stats-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .challenge-solution-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Mobile Navigation Slide-Down Drawer */
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px 32px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu .nav-link {
    display: block;
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-cta {
    display: block !important;
    width: 100%;
    margin-top: 10px;
  }
  .mobile-nav-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- 3. Medium Mobile & Phablets (<= 680px) --- */
@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .service-deepdive-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .architecture-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .architecture-showcase-box {
    padding: 24px 18px;
  }
  .nav-actions .btn-primary {
    font-size: 0.75rem;
    padding: 7px 12px;
  }
  .nav-actions .btn-arrow {
    display: none;
  }
}

/* --- 4. Mobile Devices (<= 600px) --- */
@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  .hero-section {
    padding: 40px 0 54px;
  }
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.18;
  }
  .hero-description {
    font-size: 0.9063rem;
  }
  .page-hero {
    padding: 48px 0 36px;
  }
  .page-hero-title {
    font-size: 2.1rem;
  }
  .page-hero-desc {
    font-size: 0.9063rem;
    margin-bottom: 18px;
  }
  .hero-features-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .floating-perks-badge {
    right: 6px;
    top: -10px;
    padding: 8px 12px;
  }
  .floating-perk-item {
    font-size: 0.6563rem;
  }
  .floating-status-pill {
    font-size: 0.6875rem;
    padding: 6px 12px;
  }
  .cta-banner-content {
    padding: 24px 18px;
  }
  .cta-left-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cta-banner-content .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .contact-form-panel,
  .contact-info-panel {
    padding: 26px 20px;
  }
  .legal-content-card {
    padding: 28px 18px;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* --- 5. Small Phones (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
  }
  .page-hero-title {
    font-size: 1.8rem;
  }
  .hero-badge-pill {
    font-size: 0.6563rem;
    padding: 4px 10px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .brand-logo-text {
    font-size: 0.95rem;
  }
  /* On very small screens, hide action buttons from top header so brand & toggle breathe nicely */
  .nav-actions .btn-primary,
  .nav-actions .btn-outline {
    display: none !important;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tech-item-card {
    padding: 14px 8px;
  }
  .stats-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 16px 8px;
  }
  .stat-value {
    font-size: 1.25rem;
  }
  .stat-label {
    font-size: 0.625rem;
  }
  .project-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric-stat-box {
    padding: 16px 10px;
  }
  .metric-stat-number {
    font-size: 1.5rem;
  }
  .metric-stat-label {
    font-size: 0.6875rem;
  }
  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    padding: 9px 14px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .floating-whatsapp-btn svg {
    width: 18px;
    height: 18px;
  }
  .modal-box {
    padding: 22px 16px;
    width: 94%;
  }
  .modal-box h3 {
    font-size: 1.25rem;
  }
  .whatsapp-direct-btn {
    font-size: 0.75rem;
    padding: 10px 12px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }
  /* Input size 16px prevents iOS Safari automatic page zoom */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }
  .contact-channel-item {
    gap: 12px;
  }
  .contact-channel-icon {
    width: 38px;
    height: 38px;
  }
  .contact-channel-value {
    font-size: 0.8125rem;
    word-break: break-all;
  }
  .meta-chip {
    font-size: 0.7188rem;
    padding: 5px 10px;
  }
  .spec-item-row {
    font-size: 0.75rem;
  }
}

/* --- 6. Ultra-narrow Mobile (<= 360px) --- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .stats-cards-row {
    grid-template-columns: 1fr;
  }
  .project-metrics-grid {
    grid-template-columns: 1fr;
  }
  .brand-logo-text {
    font-size: 0.875rem;
  }
}

