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

html {
    font-size: 16px;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1a1a2e;
    background-color: #ffffff;
    line-height: 1.6;
    opacity: 1;
    transition: opacity 0.4s ease-in;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Page transition animation */
body.page-transition {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1.25rem;
        max-width: 100%;
    }
}

/* Navigation Bar */
.craftio-navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftio-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-bottom-color: transparent;
}

.craftio-navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  transition: padding 0.3s ease;
}

.craftio-navbar.scrolled .craftio-navbar-content {
  padding: 0.75rem 0;
}

.craftio-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin-right: 1rem;
  cursor: pointer;
}

.craftio-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.craftio-nav-toggle.is-open span {
  background: #ffffff;
}

.craftio-nav-toggle span + span {
  margin-top: 5px;
}

.craftio-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.craftio-logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  max-height: 100%;
  margin-top:5px;
}

.craftio-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0066cc;
  letter-spacing: -0.02em;
}

.craftio-logo-tagline {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: -2px;
}

.craftio-nav-menu {
  display: flex;
  align-items: start;
  gap: 2rem;
  margin-left: auto;
}

.craftio-nav-link i,
.craftio-nav-cta i {
  display: none;
}

.craftio-nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.craftio-nav-link:hover {
  color: #0066cc;
  background: rgba(0, 102, 204, 0.06);
}

.craftio-nav-link.active {
  color: #0066cc;
  background: rgba(0, 102, 204, 0.08);
}

.craftio-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #0066cc, #3b82f6);
  border-radius: 10px;
}

.craftio-nav-cta {
  background: linear-gradient(135deg, #0066cc 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
  position: relative;
  overflow: hidden;
}

.craftio-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #0066cc 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.craftio-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
  color: #ffffff;
}

.craftio-nav-cta:hover::before {
  opacity: 1;
}

@media (max-width: 968px) {
    .craftio-navbar-content {
        justify-content: center;
        position: relative;
    }

    .craftio-logo {
        margin: 0 auto;
    }

    .craftio-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 0;
        z-index: 1201;
    }

    .craftio-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 50%;
        padding: 5rem 1.25rem 2rem;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        gap: 0;
        display: flex;
        transform: translateX(-100%);
        opacity: 1;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1100;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

        .craftio-nav-menu.is-open {
            transform: translateX(0);
            pointer-events: auto;
        }

    .craftio-nav-link {
        font-size: 0.9375rem;
        padding: 0.75rem 0.75rem;
        white-space: nowrap;
        color: #f1f5f9;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        text-align: left;
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

        .craftio-nav-link i,
        .craftio-nav-cta i {
            display: inline-block;
        }

        .craftio-nav-link i {
            width: 1.125rem;
            text-align: center;
            font-size: 0.8125rem;
            opacity: 0.7;
        }

        .craftio-nav-link:first-child {
            border-top: 1px solid rgba(255, 255, 255, 0.12);
        }

        .craftio-nav-link:hover,
        .craftio-nav-link.active {
            background: rgba(255, 255, 255, 0.06);
            color: #ffffff;
        }

        .craftio-nav-link.active i,
        .craftio-nav-link:hover i {
            opacity: 1;
        }

    .craftio-nav-cta {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        white-space: nowrap;
        background: #2563eb;
        color: #ffffff;
        text-align: left;
        border-radius: 8px;
        margin-top: 1rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

        .craftio-nav-cta i {
            font-size: 0.8125rem;
        }

    .craftio-navbar.scrolled .craftio-nav-menu {
        top: 0;
    }
}

/* Hero Section */
.craftio-hero {
  min-height: 100vh;
  background: #080b1a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
}

/* Interactive canvas background */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Animated Gradient Mesh Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  will-change: transform;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.2), transparent 70%);
  top: -15%;
  right: -10%;
  animation: orbDrift1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), rgba(14, 165, 233, 0.15), transparent 70%);
  bottom: -10%;
  left: -10%;
  animation: orbDrift2 25s ease-in-out infinite;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), rgba(244, 114, 182, 0.1), transparent 70%);
  top: 30%;
  left: 50%;
  animation: orbDrift3 18s ease-in-out infinite;
}

.hero-orb-4 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%);
  bottom: 20%;
  right: 25%;
  animation: orbDrift4 22s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 40px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.05); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 20px) scale(1.08); }
  66% { transform: translate(30px, -30px) scale(0.92); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-25px, -35px) scale(1.15) rotate(10deg); }
}

@keyframes orbDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(35px, -20px) scale(1.1); }
  70% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Mouse-reactive glow */
.hero-mouse-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

.hero-mouse-glow.active {
  opacity: 1;
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.4;
}

.hero-shape-1 {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  top: 15%;
  left: 10%;
  animation: shapeFloat 12s ease-in-out infinite;
  transform: rotate(45deg);
}

.hero-shape-2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 25%;
  right: 15%;
  animation: shapeFloat 16s ease-in-out infinite reverse;
  border-color: rgba(139, 92, 246, 0.12);
}

.hero-shape-3 {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  bottom: 20%;
  left: 20%;
  animation: shapeFloat 14s ease-in-out infinite 2s;
  border-color: rgba(59, 130, 246, 0.1);
}

.hero-shape-4 {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  top: 60%;
  right: 10%;
  animation: shapeFloat 10s ease-in-out infinite 1s;
  transform: rotate(30deg);
  border-color: rgba(236, 72, 153, 0.1);
}

.hero-shape-5 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  bottom: 30%;
  right: 30%;
  animation: shapeFloat 18s ease-in-out infinite 3s;
  border-color: rgba(6, 182, 212, 0.1);
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  25% { transform: translateY(-20px) rotate(5deg); opacity: 0.5; }
  50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.4; }
  75% { transform: translateY(-25px) rotate(8deg); opacity: 0.35; }
}

.craftio-hero::before {
  content: none;
}

@keyframes heroGradientShift {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.craftio-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.05), transparent),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,0.06), transparent),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(255,255,255,0.04), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.05), transparent);
  z-index: 1;
  pointer-events: none;
}

.craftio-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  animation: heroContentIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.craftio-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.craftio-hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.craftio-hero-title {
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-hero-highlight {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  display: inline;
  margin-top: 0;
}

.craftio-hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(203, 213, 225, 0.9);
  font-weight: 400;
}

.craftio-hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.craftio-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.craftio-stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftio-stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-4px);
}

.craftio-stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.craftio-stat-label {
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.9);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .craftio-hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
  
  .craftio-hero-content {
    padding: 1.5rem 0.75rem 1rem;
    max-width: 100%;
  }

  .craftio-hero-badge {
    padding: 0.4rem 0.85rem;
    font-size: 0.625rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
  }

  .badge-pulse::before {
    inset: -3px;
    border-width: 1.5px;
  }
  
  .badge-pulse {
    width: 6px;
    height: 6px;
    left: 0.625rem;
  }

  .craftio-hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    line-height: 1.35;
  }
  
  .craftio-hero-highlight {
    display: block;
    margin-top: 0.15rem;
  }

  .craftio-hero-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .craftio-hero-actions {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .craftio-btn-primary,
  .craftio-btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
  }

  .craftio-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 3rem;
  }

  .craftio-stat-item {
    padding: 0.75rem 0.5rem;
    border-radius: 14px;
  }

  .craftio-stat-number {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
  }

  .craftio-stat-label {
    font-size: 0.5625rem;
    letter-spacing: 0.04em;
  }
  
  .hero-orb { filter: blur(60px); }
  .hero-orb-1 { width: 300px; height: 300px; }
  .hero-orb-2 { width: 250px; height: 250px; }
  .hero-orb-3 { width: 180px; height: 180px; }
  .hero-orb-4 { display: none; }
  .hero-shapes { display: none; }
  .hero-mouse-glow { display: none; }
}

/* Buttons */
.craftio-btn-primary {
  background: linear-gradient(135deg, #0066cc 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.craftio-btn-primary > * {
  position: relative;
  z-index: 1;
}

.craftio-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #0066cc 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
  z-index: 0;
}

.craftio-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.45);
  color: #ffffff;
}

.craftio-btn-primary:hover::after {
  opacity: 1;
}

.craftio-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.craftio-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.craftio-btn-full {
  width: 100%;
  text-align: center;
}

.craftio-service-detail-card .craftio-btn-primary.craftio-btn-full {
  margin-top: auto;
  padding-top: 1rem;
}

.craftio-btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Reference Button - Disabled State */
.craftio-btn-reference {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid #fbbf24;
  cursor: not-allowed;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
  margin-top: 1rem;
  opacity: 1;
}

.craftio-btn-reference:disabled {
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
}

.craftio-btn-reference:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

/* Services Section */
.craftio-services-section {
  padding: 7rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.craftio-services-section::before {
  content: none;
}

.craftio-services-section::after {
  content: none;
}

.craftio-services-section .craftio-section-title {
  color: #0f172a;
}

.craftio-services-section .craftio-section-subtitle {
  color: #64748b;
}

.craftio-services-section .craftio-section-label {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.15);
}

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

.craftio-section-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(59, 130, 246, 0.08));
  color: #3b82f6;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.craftio-section-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Legacy grid (other pages) */
.craftio-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* ========================================
   Bento Grid Layout — Home Services
   ======================================== */
.craftio-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.craftio-bento-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.craftio-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.5s ease;
  pointer-events: none;
}

.craftio-bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.25);
}

.craftio-bento-card:hover::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.3), rgba(59, 130, 246, 0.2));
}

.craftio-bento-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #eef2ff 50%, #f5f3ff 100%);
  border-color: rgba(99, 102, 241, 0.15);
}

.craftio-bento-featured:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.craftio-bento-featured .craftio-service-title,
.craftio-bento-card .craftio-service-title {
  color: #0f172a;
}

.craftio-bento-featured .craftio-service-description,
.craftio-bento-card .craftio-service-description {
  color: #64748b;
}

.craftio-bento-featured .craftio-feature-tag,
.craftio-bento-card .craftio-feature-tag {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.15);
}

.craftio-bento-featured .craftio-service-link,
.craftio-bento-card .craftio-service-link {
  color: #3b82f6;
}

.craftio-bento-featured .craftio-service-link:hover,
.craftio-bento-card .craftio-service-link:hover {
  color: #6366f1;
}

.craftio-bento-content {
  flex: 1;
}

.craftio-bento-number {
  font-size: 5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(59, 130, 246, 0.07);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  transition: all 0.5s ease;
}

.craftio-bento-featured .craftio-bento-number {
  color: rgba(99, 102, 241, 0.1);
}

.craftio-bento-card:hover .craftio-bento-number {
  color: rgba(99, 102, 241, 0.2);
  text-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

/* Bento Visual (mockup in featured card) */
.craftio-bento-visual {
  flex-shrink: 0;
  width: 320px;
}

.bento-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.bento-mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.bento-mockup-bar span:nth-child(1) { background: #ef4444; opacity: 0.6; }
.bento-mockup-bar span:nth-child(2) { background: #fbbf24; opacity: 0.6; }
.bento-mockup-bar span:nth-child(3) { background: #22c55e; opacity: 0.6; }

.bento-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-mockup-block {
  border-radius: 8px;
  animation: bentoMockupPulse 3s ease-in-out infinite;
}

.bento-mockup-block-1 {
  height: 60px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.15));
}

.bento-mockup-block-2 {
  height: 40px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.12), rgba(14, 165, 233, 0.1));
  animation-delay: 0.5s;
}

.bento-mockup-block-3 {
  height: 50px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
  animation-delay: 1s;
}

@keyframes bentoMockupPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.craftio-service-icon-alt {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

.craftio-service-icon-accent {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

@media (max-width: 768px) {
  .craftio-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .craftio-bento-featured {
    flex-direction: column;
    gap: 0.5rem;
  }

  .craftio-bento-visual {
    width: 100%;
  }

  .bento-mockup-body {
    display: none;
  }

  .craftio-bento-card {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .craftio-bento-number {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .craftio-service-icon {
    margin-bottom: 0.4rem;
  }

  .craftio-service-icon svg {
    width: 20px;
    height: 20px;
  }

  .craftio-service-title {
    font-size: 0.8125rem;
    margin-bottom: 0.2rem;
  }

  .craftio-service-description {
    font-size: 0.625rem;
    line-height: 1.45;
    margin-bottom: 0.4rem;
  }

  .craftio-service-features {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.25rem;
    padding-bottom: 0.15rem;
    margin-bottom: 0.35rem;
  }

  .craftio-feature-tag {
    flex-shrink: 0;
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
  }

  .craftio-bento-featured .craftio-service-features {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .craftio-bento-featured .craftio-feature-tag {
    width: auto;
  }

  .craftio-service-link {
    font-size: 0.75rem;
  }
}

.craftio-service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(229, 231, 235, 0.8);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.craftio-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.craftio-service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #0066cc 0%, #3b82f6 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.craftio-service-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-service-description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.craftio-service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.craftio-feature-tag {
  background: linear-gradient(135deg, #f0f4ff, #e8efff);
  color: #3b5998;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.craftio-service-card:hover .craftio-feature-tag {
  background: linear-gradient(135deg, #e8efff, #dbe4ff);
  border-color: rgba(59, 130, 246, 0.2);
}

.craftio-service-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
  padding-top: 1rem;
}

.craftio-service-link:hover {
  gap: 0.75rem;
  color: #3b82f6;
}

/* Why Choose Us Section */
.craftio-why-section {
  background: #f8fafc;
  position: relative;
  overflow: visible;
}

.craftio-why-section::before {
  content: none;
}

.craftio-why-section .craftio-section-title {
  color: #0f172a;
}

.craftio-why-section .craftio-section-subtitle {
  color: #64748b;
}

.craftio-why-section .craftio-section-label {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.15);
}

/* Legacy grid (other pages) */
.craftio-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.craftio-why-item {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(5px);
}

.craftio-why-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 80px rgba(59, 130, 246, 0.1);
}

.craftio-why-icon {
  width: 90px;
  height: 90px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: #ffffff;
  margin: 0 auto 1.75rem;
  font-weight: 700;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.craftio-why-item:hover .craftio-why-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(96, 165, 250, 0.35);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

/* ========================================
   Why Choose Us — Scroll-Driven Slide-In Row
   ======================================== */

/* Section: tall to provide scroll room for 3 staggered entrances */
.craftio-why-section {
  height: 250vh;
  padding: 0;
  position: relative;
}

/* Sticky wrapper: stays in view while user scrolls through */
.craftio-why-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.craftio-why-sticky .container-fluid {
  width: 100%;
}

/* Grid row for all 3 cards */
.craftio-why-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  position: relative;
  z-index: 1;
}

/* Cards: each starts off-screen right, slides into its grid cell */
.craftio-why-slider .craftio-why-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3rem 2rem 2.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  will-change: transform, opacity;
  transform: translateX(120%) scale(0.92);
  opacity: 0;
}

.craftio-why-slider .craftio-why-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Once card is fully in, allow hover effects */
.craftio-why-slider .craftio-why-feature-card.why-card-in {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.craftio-why-slider .craftio-why-feature-card.why-card-in:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.craftio-why-slider .craftio-why-feature-card.why-card-in:hover::before {
  opacity: 1;
}

.craftio-why-feature-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  bottom: 0;
  width: 60%;
  height: 3px;
  background: var(--bar-color, #3b82f6);
  border-radius: 3px 3px 0 0;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftio-why-slider .craftio-why-feature-card.why-card-in:hover .craftio-why-feature-bar {
  transform: translateX(-50%) scaleX(1);
}

.craftio-why-feature-num {
  font-size: 5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
}

.craftio-why-slider .craftio-why-feature-card.why-card-in:hover .craftio-why-feature-num {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.45), rgba(99, 102, 241, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
}

.craftio-why-feature-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.craftio-why-feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #f0f4ff;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftio-why-slider .craftio-why-feature-card.why-card-in:hover .craftio-why-feature-icon {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
}

.craftio-why-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-why-description {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

/* Progress dots */
.craftio-why-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2rem;
}

.craftio-why-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.35s ease;
}

.craftio-why-dot.active {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .craftio-why-slider {
    gap: 1.5rem;
  }

  .craftio-why-slider .craftio-why-feature-card {
    padding: 2.5rem 1.5rem 2rem;
  }

  .craftio-why-feature-num {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
    .craftio-why-section {
        height: auto;
        padding: 3rem 0;
    }

    .craftio-why-sticky {
        position: relative;
        height: auto;
        padding: 1.5rem 0;
    }

    .craftio-why-slider {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 0.75rem;
        max-width: none;
    }

    .craftio-why-slider .craftio-why-feature-card {
        flex: 0 0 80%;
        min-width: 260px;
        scroll-snap-align: start;
        padding: 1.5rem 1.25rem;
        transform: translateX(0) !important;
        opacity: 1 !important;
    }

    .craftio-why-slider .craftio-why-feature-card.why-card-in {
        transform: translateX(0) scale(1) !important;
        opacity: 1 !important;
    }

    .craftio-why-dots {
        display: none;
    }

    .craftio-why-feature-num {
        font-size: 2.5rem;
    }

    .craftio-why-title {
        font-size: 1rem;
    }

    .craftio-why-description {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .craftio-why-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

@media (max-width: 968px) {
  .craftio-why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .craftio-why-item {
    padding: 2.5rem 2rem;
  }
}

/* Contact Section */
.craftio-contact-section {
  padding: 7rem 0;
  background: #f8fafc;
  position: relative;
}

.craftio-contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.craftio-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.craftio-contact-info {
  position: sticky;
  top: 100px;
}

.craftio-contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.craftio-contact-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.craftio-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.craftio-contact-detail-item strong {
  display: block;
  color: #111827;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.craftio-contact-detail-item p {
  color: #6b7280;
  font-size: 1rem;
}

.craftio-contact-form-wrapper {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.6);
}

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

.craftio-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.craftio-form-group {
  display: flex;
  flex-direction: column;
}

.craftio-form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.craftio-form-group .form-control {
  padding: 0.875rem 1.125rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(248, 250, 252, 0.8);
  font-family: 'Inter', sans-serif;
}

.craftio-form-group .form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  background: #ffffff;
}

.craftio-alert {
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.craftio-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.craftio-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 968px) {
  .craftio-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .craftio-contact-info {
    position: static;
  }
  
  .craftio-form-row {
    grid-template-columns: 1fr;
  }
}

/* Page Header */
.craftio-page-header {
  min-height: 30vh;
  background: linear-gradient(135deg, #0a0e27 0%, #0d1b3e 40%, #1a3a6e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  text-align: center;
}

.craftio-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.craftio-page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(255,255,255,0.1), transparent),
    radial-gradient(1px 1px at 45% 65%, rgba(255,255,255,0.08), transparent),
    radial-gradient(2px 2px at 75% 35%, rgba(255,255,255,0.06), transparent);
  z-index: 0;
}

.craftio-page-header-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  animation: heroContentIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.craftio-page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.2;
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.craftio-page-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(203, 213, 225, 0.85);
}

/* Page Header — Canvas & Decorative Elements */
.craftio-page-header .page-header-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.craftio-page-header .hero-orb {
  filter: blur(60px);
  opacity: 0.4;
}

.craftio-page-header .hero-orb-1 {
  width: 350px;
  height: 350px;
  top: -20%;
  right: -8%;
}

.craftio-page-header .hero-orb-2 {
  width: 280px;
  height: 280px;
  bottom: -15%;
  left: -5%;
}

.craftio-page-header .hero-orb-3 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 45%;
}

.craftio-page-header .hero-mouse-glow {
  width: 350px;
  height: 350px;
}

.craftio-page-header .hero-shape {
  opacity: 0.3;
}

/* Services Detail Section */
.craftio-services-detail-section {
  padding: 4rem 0;
  background: #ffffff;
}

.craftio-services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.craftio-service-detail-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.craftio-service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 102, 204, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
}

.craftio-service-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.craftio-service-detail-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.craftio-service-detail-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.craftio-service-detail-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.craftio-service-detail-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  min-height: 3rem;
}

.craftio-service-detail-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.craftio-service-detail-features h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.craftio-service-detail-features ul {
  list-style: none;
  padding: 0;
}

.craftio-service-detail-features li {
  padding: 0.5rem 0;
  color: #6b7280;
  position: relative;
  padding-left: 1.5rem;
}

.craftio-service-detail-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: 700;
}

.craftio-service-detail-pricing {
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.craftio-pricing-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.craftio-pricing-from {
  font-size: 0.875rem;
  color: #6b7280;
}

.craftio-pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.craftio-pricing-period {
  font-size: 1rem;
  color: #6b7280;
}

.craftio-pricing-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.craftio-pricing-timeline {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ========================================
   Package Tier Sections (Services page)
   ======================================== */
.craftio-pkg-section {
  padding: 5rem 0;
  background: #ffffff;
}

.craftio-pkg-section-alt {
  background: #f8fafc;
}
    
.craftio-pkg-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 100%;
}

.craftio-pkg-section-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.2);
}

.craftio-pkg-icon-pulse {
  animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(0, 102, 204, 0.2); }
  50% { box-shadow: 0 6px 24px rgba(0, 102, 204, 0.35); }
}

.craftio-pkg-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-pkg-section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

/* 3-column grid */
.craftio-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* 4-column grid variant (used when we show Starter Lite) */
.craftio-pkg-grid.craftio-pkg-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Individual package card */
.craftio-pkg-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.craftio-pkg-section-alt .craftio-pkg-card {
  background: #ffffff;
  border-color: #e5e7eb;
}

.craftio-pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Featured / recommended card */
.craftio-pkg-card-featured {
  border-color: #0066cc !important;
  border-width: 2px;
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.12);
}

.craftio-pkg-card-featured:hover {
  box-shadow: 0 24px 48px rgba(0, 102, 204, 0.18);
}

/* "Most Popular" / "Recommended" ribbon */
.craftio-pkg-card-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 1.25rem 0.375rem 1rem;
  border-radius: 0 18px 0 12px;
}

/* Tier badge */
.craftio-pkg-card-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.craftio-pkg-badge-featured {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
}

/* Card name */
.craftio-pkg-card-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

/* "Who it's for" tagline */
.craftio-pkg-card-target {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Price block */
.craftio-pkg-card-price {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #f1f5f9;
}

.craftio-pkg-card-featured .craftio-pkg-card-price {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f4ff 100%);
  border-color: #dbeafe;
}

.craftio-pkg-price-from {
  display: block;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 0.125rem;
}

.craftio-pkg-price-amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-pkg-card-featured .craftio-pkg-price-amount {
  color: #0066cc;
}

.craftio-pkg-price-period {
  display: block;
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-top: 0.125rem;
}

/* Feature list */
.craftio-pkg-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.craftio-pkg-card-features li {
  padding: 0.425rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.craftio-pkg-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: 700;
}

/* Outcome highlight */
.craftio-pkg-card-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #166534;
  line-height: 1.5;
  font-weight: 500;
}

.craftio-pkg-outcome-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA button */
.craftio-pkg-card-cta {
  display: block;
  text-align: center;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
  background: #ffffff;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.craftio-pkg-card-cta:hover {
  background: #0066cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
}

.craftio-pkg-cta-featured {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #ffffff;
  border-color: transparent;
}

.craftio-pkg-cta-featured:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003580 100%);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 102, 204, 0.3);
}

/* Bottom CTA section */
.craftio-pkg-bottom-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.craftio-pkg-bottom-cta .craftio-comparison-table-wrapper {
  margin-bottom: 3.25rem;
}

.craftio-pkg-bottom-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.craftio-pkg-bottom-cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.craftio-pkg-bottom-cta-content p {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
  .craftio-pkg-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .craftio-pkg-grid.craftio-pkg-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .craftio-pkg-card {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .craftio-pkg-price-amount {
    font-size: 1.625rem;
  }
}

/* Responsive: mobile */
@media (max-width: 768px) {
  .craftio-pkg-section {
    padding: 3rem 0;
  }

  .craftio-pkg-section-header {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .craftio-pkg-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .craftio-pkg-grid::-webkit-scrollbar {
    height: 8px;
  }

  .craftio-pkg-grid::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
  }

  .craftio-pkg-grid::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
  }

  .craftio-pkg-grid .craftio-pkg-card {
    flex: 0 0 78%;
    min-width: 240px;
    max-width: 310px;
    scroll-snap-align: start;
    padding: 1.1rem 1rem 1rem;
  }

  .craftio-pkg-section {
    padding: 2rem 0;
  }

  .craftio-pkg-section-title {
    font-size: 1.125rem;
  }

  .craftio-pkg-section-subtitle {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .craftio-pkg-section-icon svg {
    width: 22px;
    height: 22px;
  }

  .craftio-pkg-card-badge {
    font-size: 0.5625rem;
  }

  .craftio-pkg-card-name {
    font-size: 0.9375rem;
  }

  .craftio-pkg-card-target {
    font-size: 0.6875rem;
  }

  .craftio-pkg-price-amount {
    font-size: 1.25rem;
  }

  .craftio-pkg-price-from,
  .craftio-pkg-price-period {
    font-size: 0.625rem;
  }

  .craftio-pkg-card-features {
    font-size: 0.75rem;
  }

  .craftio-pkg-card-features li {
    padding-left: 1.125rem;
    font-size: 0.75rem;
  }

  .craftio-pkg-card-outcome {
    font-size: 0.6875rem;
    padding: 0.5rem 0.65rem;
  }

  .craftio-pkg-card-cta {
    font-size: 0.75rem;
    padding: 0.55rem 0.875rem;
  }

  .craftio-pkg-bottom-cta {
    padding: 2rem 0;
  }

  .craftio-pkg-bottom-cta-content h2 {
    font-size: 1.125rem;
  }

  .craftio-pkg-bottom-cta-content p {
    font-size: 0.8125rem;
  }
}

/* Service Comparison Table */
.craftio-comparison-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.craftio-comparison-table-wrapper {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.craftio-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.9375rem;
}

.craftio-comparison-table thead {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #ffffff;
}

.craftio-comparison-table th {
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-weight: 600;
  border: none;
}

.craftio-comparison-table th.feature-column {
  text-align: left;
  background: #003d7a;
  min-width: 180px;
}

.craftio-comparison-table .service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.craftio-comparison-table .service-icon {
  font-size: 1.75rem;
}

.craftio-comparison-table .service-name {
  font-size: 1rem;
  font-weight: 600;
}

.craftio-comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  vertical-align: middle;
}

.craftio-comparison-table td.feature-label {
  text-align: left;
  font-weight: 600;
  color: #111827;
  background: #f9fafb;
}

.craftio-comparison-table tbody tr:hover {
  background: #f0f9ff;
}

.craftio-comparison-table tbody tr.highlight-row {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.craftio-comparison-table tbody tr.highlight-row td {
  font-weight: 500;
  color: #1e40af;
  padding: 1.25rem 1.25rem;
  border-bottom: none;
}

.craftio-comparison-table .check {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.25rem;
}

.craftio-comparison-table .cross {
  color: #9ca3af;
  font-size: 1.25rem;
}

.craftio-comparison-table .partial {
  color: #f97316;
  font-size: 0.875rem;
  font-weight: 500;
}

.craftio-comparison-cta {
  text-align: center;
  margin-top: 3rem;
}

.craftio-comparison-cta p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .craftio-comparison-section {
    padding: 3rem 0;
  }
  
  .craftio-comparison-table-wrapper {
    margin: 0 -1rem;
    border-radius: 0;
  }
  
  .craftio-comparison-table th,
  .craftio-comparison-table td {
    padding: 0.875rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .craftio-comparison-table th.feature-column {
    min-width: 120px;
  }
  
  .craftio-comparison-table .service-icon {
    font-size: 1.25rem;
  }
  
  .craftio-comparison-table .service-name {
    font-size: 0.8125rem;
  }
}

/* CTA Section */
.craftio-cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0e27 0%, #0d1b3e 50%, #1a3a6e 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.craftio-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.craftio-cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.craftio-cta-description {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer - positioned at bottom using flexbox layout in body */
.craftio-footer {
  background: linear-gradient(135deg, #0a0e27 0%, #111827 100%);
  color: #94a3b8;
  padding: 3rem 0 2rem;
  text-align: center;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.craftio-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.craftio-footer p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.craftio-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.craftio-footer-links span {
  color: #334155;
}

.craftio-footer a {
  color: #60a5fa;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.craftio-footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: #60a5fa;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.craftio-footer a:hover {
  color: #93c5fd;
  text-decoration: none;
}

.craftio-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Footer social icon links */
.craftio-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
}

.craftio-footer-social-icon {
  display: block;
}

/* Legacy footer class for compatibility */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 2rem 0;
  text-align: center;
  margin-top: auto;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
}

footer a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Hero animated background keyframes */
@keyframes ncsHeroGradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes ncsHeroPattern {
  0% {
    background-position: 0% 0%, 100% 0%, 0 0;
  }
  50% {
    background-position: 100% 50%, 0% 50%, -160px 160px;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 0 0;
  }
}

/* ========================================
   Floating Particles Animation
   ======================================== */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  animation: float-particle 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: -3s; animation-duration: 22s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 40%; top: 35%; animation-delay: -6s; animation-duration: 16s; }
.particle:nth-child(4) { left: 55%; top: 75%; animation-delay: -9s; animation-duration: 24s; width: 10px; height: 10px; }
.particle:nth-child(5) { left: 70%; top: 25%; animation-delay: -12s; animation-duration: 20s; }
.particle:nth-child(6) { left: 85%; top: 55%; animation-delay: -15s; animation-duration: 18s; width: 5px; height: 5px; }
.particle:nth-child(7) { left: 15%; top: 80%; animation-delay: -7s; animation-duration: 21s; }
.particle:nth-child(8) { left: 90%; top: 15%; animation-delay: -4s; animation-duration: 19s; width: 7px; height: 7px; }

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-40px) translateX(20px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) translateX(-15px) scale(0.9);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-60px) translateX(10px) scale(1.1);
    opacity: 0.7;
  }
}

/* ========================================
   Fade Up Animation
   ======================================== */
.animate-fade-up {
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Badge Pulse Animation
   ======================================== */
.craftio-hero-badge {
  position: relative;
  padding-left: 1.5rem;
}

.badge-pulse {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.badge-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid #22c55e;
  border-radius: 50%;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.1); }
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.5); opacity: 0; }
}

/* ========================================
   Button Glow Effect
   ======================================== */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  animation: btn-shine 3s infinite;
  z-index: 0;
}

.btn-glow > * {
  position: relative;
  z-index: 1;
}

@keyframes btn-shine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

/* ========================================
   Scroll Indicator
   ======================================== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  animation: bounce-scroll 2s infinite;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
  .scroll-indicator { display: none; }
}

/* ========================================
   Tech Globe — 3D Orbiting Technologies
   ======================================== */
.craftio-logos-section {
    padding: 6rem 0 8rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
    z-index: 1;
}

.craftio-logos-section::before {
  content: none;
}

.craftio-logos-section::after {
  content: none;
}

.craftio-logos-section .craftio-section-title {
  color: #0f172a;
}

.craftio-logos-section .craftio-section-subtitle {
  color: #64748b;
}

.craftio-logos-section .craftio-section-header {
  position: relative;
  z-index: 10;
}

/* Globe Container */
.tech-globe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  position: relative;
}

.tech-globe {
  position: relative;
  width: 360px;
  height: 360px;
  perspective: 800px;
}

/* Globe Sphere */
.globe-sphere {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #dbeafe, #93c5fd 40%, #3b82f6 70%, #1e40af 100%);
  box-shadow:
    inset -20px -20px 40px rgba(30, 64, 175, 0.3),
    0 0 60px rgba(59, 130, 246, 0.15),
    0 0 120px rgba(59, 130, 246, 0.08);
  animation: globePulse 6s ease-in-out infinite;
  pointer-events: none;
}

.globe-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
  pointer-events: none;
}

/* Globe Rings (latitude lines) */
.globe-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.globe-ring-1 {
  transform: rotateX(60deg);
  animation: globeRing1Spin 20s linear infinite;
}

.globe-ring-2 {
  transform: rotateX(30deg) rotateY(20deg);
  animation: globeRing2Spin 25s linear infinite reverse;
  border-color: rgba(255, 255, 255, 0.2);
}

.globe-ring-3 {
  transform: rotateX(0deg) rotateY(45deg);
  animation: globeRing3Spin 30s linear infinite;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Globe Meridians (longitude lines) */
.globe-meridian {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.globe-meridian-1 {
  transform: rotateY(60deg);
  animation: globeMeridian1Spin 22s linear infinite;
}

.globe-meridian-2 {
  transform: rotateY(120deg);
  animation: globeMeridian2Spin 28s linear infinite reverse;
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes globePulse {
  0%, 100% { box-shadow: inset -20px -20px 40px rgba(30, 64, 175, 0.3), 0 0 60px rgba(59, 130, 246, 0.15), 0 0 120px rgba(59, 130, 246, 0.08); }
  50% { box-shadow: inset -20px -20px 40px rgba(30, 64, 175, 0.3), 0 0 80px rgba(59, 130, 246, 0.2), 0 0 160px rgba(59, 130, 246, 0.1); }
}

@keyframes globeRing1Spin {
  from { transform: rotateX(60deg) rotateZ(0deg); }
  to { transform: rotateX(60deg) rotateZ(360deg); }
}

@keyframes globeRing2Spin {
  from { transform: rotateX(30deg) rotateY(20deg) rotateZ(0deg); }
  to { transform: rotateX(30deg) rotateY(20deg) rotateZ(360deg); }
}

@keyframes globeRing3Spin {
  from { transform: rotateX(0deg) rotateY(45deg) rotateZ(0deg); }
  to { transform: rotateX(0deg) rotateY(45deg) rotateZ(360deg); }
}

@keyframes globeMeridian1Spin {
  from { transform: rotateY(60deg) rotateZ(0deg); }
  to { transform: rotateY(60deg) rotateZ(360deg); }
}

@keyframes globeMeridian2Spin {
  from { transform: rotateY(120deg) rotateZ(0deg); }
  to { transform: rotateY(120deg) rotateZ(360deg); }
}

/* Orbits */
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  pointer-events: none;
}

.orbit-1 {
  inset: -20px;
  border: 1.5px dashed rgba(59, 130, 246, 0.12);
  animation: orbitSpin 20s linear infinite;
}

.orbit-2 {
  inset: -75px;
  border: 1.5px dashed rgba(99, 102, 241, 0.1);
  animation: orbitSpin 30s linear infinite reverse;
}

.orbit-3 {
  inset: -130px;
  border: 1.5px dashed rgba(139, 92, 246, 0.08);
  animation: orbitSpin 40s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

/* Orbit Items (icon + label pill) */
.orbit-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: #ffffff;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  cursor: default;
  white-space: nowrap;
  z-index: 1;
  pointer-events: auto;
}

.orbit-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.orbit-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  line-height: 1;
}

/* Counter-rotate items so they stay upright */
.orbit-1 .orbit-item { animation: orbitItemCounterSpin1 20s linear infinite; }
.orbit-2 .orbit-item { animation: orbitItemCounterSpin2 30s linear infinite; }
.orbit-3 .orbit-item { animation: orbitItemCounterSpin3 40s linear infinite; }

@keyframes orbitItemCounterSpin1 {
  from { transform: translate(-50%, -50%) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateZ(-360deg); }
}

@keyframes orbitItemCounterSpin2 {
  from { transform: translate(-50%, -50%) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateZ(360deg); }
}

@keyframes orbitItemCounterSpin3 {
  from { transform: translate(-50%, -50%) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateZ(-360deg); }
}

.orbit-item:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
  border-color: #3b82f6;
  z-index: 10;
}

.orbit-item:hover .orbit-label {
  color: #1e40af;
}

/* Position each item around the orbit */
.orbit-item-1 { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.orbit-item-2 { bottom: 0%; left: 50%; transform: translate(-50%, 50%); }
.orbit-item-3 { top: 10%; right: -10%; transform: translate(50%, -50%); }
.orbit-item-4 { bottom: 0; left: 75%; transform: translate(-50%, 50%); }
.orbit-item-5 { top: 30%; left: 15%; transform: translate(-50%, -50%); }
.orbit-item-6 { top: 50%; right: -12%; transform: translate(50%, -50%); }
.orbit-item-7 { bottom: 0%; right: 25%; transform: translate(50%, 50%); }
.orbit-item-8 { top: 50%; left: 0%; transform: translate(-50%, -50%); }
.orbit-item-9 { top: 15%; left: 10%; transform: translate(-50%, -50%); }
.orbit-item-10 { bottom: 20%; right: 0%; transform: translate(50%, 50%); }

@media (max-width: 768px) {
    .craftio-logos-section {
        padding: 2.5rem 0 3rem;
    }

    .tech-globe-container {
        min-height: 400px;
        padding: 0.75rem 0;
        overflow: hidden;
        max-width: 100%;
    }

    .tech-globe {
        width: 190px;
        height: 190px;
    }

    .globe-sphere {
        inset: 30px;
    }

    .orbit-1 {
        inset: -12px;
    }

    .orbit-2 {
        inset: -36px;
    }

    .orbit-3 {
        inset: -52px;
    }

    .orbit-item {
        padding: 0.4rem 0.55rem;
        gap: 0.125rem;
        border-radius: 30px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .orbit-icon {
        font-size: 0.6875rem;
    }

    .orbit-label {
        font-size: 0.5rem;
    }

    .orbit-item-3 {
        right: 2% !important;
    }

    .orbit-item-6 {
        right: 2% !important;
    }

    .orbit-item-10 {
        right: 5% !important;
    }

    .orbit-item-8 {
        left: 5% !important;
    }

    .orbit-item-9 {
        left: 8% !important;
    }

    .orbit-item-7 {
        right: 10% !important;
    }
}

/* Tech Popup — click-to-reveal info card */
.orbit-item[data-tech-title] {
  cursor: pointer;
}

.tech-popup-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 99;
}

.tech-popup-overlay.active {
  display: block;
}

.tech-popup {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) translateX(40px);
  z-index: 100;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  width: 300px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(59, 130, 246, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: left;
}

.tech-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.tech-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1;
}

.tech-popup-close:hover {
  background: #f1f5f9;
  color: #334155;
}

.tech-popup-icon {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px;
  flex-shrink: 0;
}

.tech-popup-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.4rem;
}

.tech-popup-desc {
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .tech-popup {
    right: 50%;
    top: auto;
    /* Move the popup up so its bottom border stays inside the section
       while keeping the section itself non-scrollable */
    bottom: 40px;
    transform: translateX(50%) translateY(20px);
    width: 260px;
    padding: 1.25rem 1.25rem 1rem;
  }

  .tech-popup.active {
    transform: translateX(50%) translateY(0);
  }

  .tech-popup-icon {
    font-size: 1.5rem;
    width: 38px;
    height: 38px;
  }

  .tech-popup-title {
    font-size: 0.95rem;
  }

  .tech-popup-desc {
    font-size: 0.775rem;
  }
}

/* ========================================
   Testimonials Slider
   ======================================== */
/* Testimonials Section - Modern Card Grid */
.craftio-testimonials-section {
  padding: 6rem 0;
  background: #f8fafc;
  overflow: hidden;
}

.craftio-testimonials-section .craftio-section-title {
  color: #111827;
}

.craftio-testimonials-section .craftio-section-subtitle {
  color: #6b7280;
}

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: auto;
}

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

.testimonial-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  opacity: 1;
  transform: none;
  transition: all 0.4s ease;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: #f1f5f9;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #0066cc;
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testimonial-card.prev {
  transform: none;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.15rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: normal;
  color: #374151;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0066cc 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  flex-shrink: 0;
}

.testimonial-info {
  text-align: left;
}

.testimonial-info strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  color: #111827;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: #6b7280;
}

.testimonial-nav {
  display: none;
}

.testimonial-btn {
  display: none;
}

.testimonial-dots {
  display: none;
}

@media (max-width: 968px) {
  .testimonials-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

  .testimonial-card {
    padding: 2rem;
}
}

@media (max-width: 768px) {
  .testimonial-card { 
    padding: 1.75rem; 
  }
  .testimonial-text { 
    font-size: 1rem; 
  }
  .testimonial-card::before {
    font-size: 4rem;
    top: 1rem;
    right: 1.5rem;
  }
}

/* ========================================
   Hover Lift & Icon Animation
   ======================================== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 102, 204, 0.15);
}

.icon-animate {
  transition: transform 0.4s ease;
}

.hover-lift:hover .icon-animate {
  transform: scale(1.15) rotate(5deg);
}

/* ========================================
   Reveal Animation on Scroll
   ======================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Slide animations for products */
.reveal-slide-left {
  opacity: 0;
  transform: translateX(-300px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(300px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale animation for comparison section */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid items */
.craftio-services-grid .reveal-item:nth-child(1) { transition-delay: 0.1s; }
.craftio-services-grid .reveal-item:nth-child(2) { transition-delay: 0.2s; }
.craftio-services-grid .reveal-item:nth-child(3) { transition-delay: 0.3s; }

.craftio-why-grid .reveal-item:nth-child(1) { transition-delay: 0.1s; }
.craftio-why-grid .reveal-item:nth-child(2) { transition-delay: 0.2s; }
.craftio-why-grid .reveal-item:nth-child(3) { transition-delay: 0.3s; }
.craftio-why-grid .reveal-item:nth-child(4) { transition-delay: 0.4s; }

.craftio-wizard-grid .reveal-item:nth-child(1) { transition-delay: 0.1s; }
.craftio-wizard-grid .reveal-item:nth-child(2) { transition-delay: 0.2s; }
.craftio-wizard-grid .reveal-item:nth-child(3) { transition-delay: 0.3s; }

/* Staggered delays for other sections */
.craftio-services-detail-grid.reveal-item { transition-delay: 0.1s; }
.craftio-section-header.reveal-item { transition-delay: 0.1s; }
.craftio-about-content.reveal-item { transition-delay: 0.1s; }
.craftio-about-stats-card.reveal-item { transition-delay: 0.2s; }
.craftio-comparison-table-wrapper.reveal-item { transition-delay: 0.2s; }
.craftio-comparison-cta.reveal-item { transition-delay: 0.3s; }
.craftio-product-cta-content.reveal-item { transition-delay: 0.2s; }

/* ========================================
   Service Card Enhanced Hover
   ======================================== */
.craftio-service-card {
  position: relative;
  overflow: hidden;
}

.craftio-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 102, 204, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.craftio-service-card:hover::before {
  left: 100%;
}

.craftio-service-card:hover .craftio-service-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.craftio-service-icon {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ========================================
   Why Choose Icon Enhanced Animation
   ======================================== */

/* Wizard / Roadmap section - Modern Timeline */
/* ========================================
   Agile Cycle Section
   ======================================== */

.craftio-cycle-section {
  padding: 8rem 0 9rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.craftio-cycle-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.craftio-cycle-bg-orb-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -120px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
}

.craftio-cycle-bg-orb-2 {
  width: 450px;
  height: 450px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
}

.craftio-cycle-section .craftio-section-label {
  background: rgba(249, 115, 22, 0.08);
  color: #ea580c;
  border-color: rgba(249, 115, 22, 0.15);
}

.craftio-cycle-wrapper {
  max-width: 900px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The ring container — big and page-fitting */
.craftio-cycle-ring {
  position: relative;
  width: 620px;
  height: 620px;
}

.craftio-cycle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.craftio-cycle-arc {
  transition: stroke-dashoffset 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nodes positioned at 12, 3, 6, 9 o'clock */
.craftio-cycle-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 2.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1rem 1.4rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  font-family: inherit;
}

.craftio-cycle-node:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.craftio-cycle-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: color 0.3s ease;
}

.craftio-cycle-node-label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.craftio-cycle-node-pulse {
  display: none;
  position: absolute;
  inset: -5px;
  border-radius: 22px;
  border: 2px solid;
  animation: cyclePulse 2s ease-out infinite;
  pointer-events: none;
}

/* Node positions */
.craftio-cycle-node-0 { top: -24px;  left: 50%; transform: translateX(-50%); }
.craftio-cycle-node-1 { right: -40px; top: 50%; transform: translateY(-50%); }
.craftio-cycle-node-2 { bottom: -24px; left: 50%; transform: translateX(-50%); }
.craftio-cycle-node-3 { left: -40px;  top: 50%; transform: translateY(-50%); }

.craftio-cycle-node-0:hover { transform: translateX(-50%) scale(1.08); }
.craftio-cycle-node-1:hover { transform: translateY(-50%) scale(1.08); }
.craftio-cycle-node-2:hover { transform: translateX(-50%) scale(1.08); }
.craftio-cycle-node-3:hover { transform: translateY(-50%) scale(1.08); }

/* Active node colours */
.craftio-cycle-node-0.is-active { border-color: #f97316; background: #fff7ed; }
.craftio-cycle-node-0.is-active .craftio-cycle-node-icon { color: #ea580c; }
.craftio-cycle-node-0.is-active .craftio-cycle-node-label { color: #ea580c; }
.craftio-cycle-node-0.is-active .craftio-cycle-node-pulse { display: block; border-color: #f97316; }

.craftio-cycle-node-1.is-active { border-color: #3b82f6; background: #eff6ff; }
.craftio-cycle-node-1.is-active .craftio-cycle-node-icon { color: #2563eb; }
.craftio-cycle-node-1.is-active .craftio-cycle-node-label { color: #2563eb; }
.craftio-cycle-node-1.is-active .craftio-cycle-node-pulse { display: block; border-color: #3b82f6; }

.craftio-cycle-node-2.is-active { border-color: #22c55e; background: #f0fdf4; }
.craftio-cycle-node-2.is-active .craftio-cycle-node-icon { color: #16a34a; }
.craftio-cycle-node-2.is-active .craftio-cycle-node-label { color: #16a34a; }
.craftio-cycle-node-2.is-active .craftio-cycle-node-pulse { display: block; border-color: #22c55e; }

.craftio-cycle-node-3.is-active { border-color: #06b6d4; background: #ecfeff; }
.craftio-cycle-node-3.is-active .craftio-cycle-node-icon { color: #0891b2; }
.craftio-cycle-node-3.is-active .craftio-cycle-node-label { color: #0891b2; }
.craftio-cycle-node-3.is-active .craftio-cycle-node-pulse { display: block; border-color: #06b6d4; }

@keyframes cyclePulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Centre content panel */
.craftio-cycle-centre {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  text-align: center;
  z-index: 2;
}

.craftio-cycle-centre-inner {
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.craftio-cycle-centre-exit .craftio-cycle-centre-inner {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}

.craftio-cycle-centre-enter .craftio-cycle-centre-inner {
  animation: cycleFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cycleFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.craftio-cycle-step-num {
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.craftio-cycle-step-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.craftio-cycle-step-text {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.craftio-cycle-step-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  background: #f0f4ff;
  color: #3b82f6;
  font-weight: 600;
  border: 1px solid #dbeafe;
}

/* Progress pips */
.craftio-cycle-progress {
  display: flex;
  gap: 0.625rem;
  margin-top: 4.5rem;
}

.craftio-cycle-pip {
  width: 36px;
  height: 6px;
  border-radius: 3px;
  border: none;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.craftio-cycle-pip.is-active {
  background: linear-gradient(90deg, #f97316, #3b82f6);
  width: 56px;
}

.craftio-cycle-hint {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-align: center;
}

/* Responsive — tablet */
@media (max-width: 768px) {
  .craftio-cycle-section {
    padding: 3.5rem 0 4rem;
  }

  .craftio-cycle-wrapper {
    margin-top: 2rem;
  }

  .craftio-cycle-ring {
    width: min(92vw, 440px);
    height: min(92vw, 440px);
  }

  .craftio-cycle-node {
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    gap: 0.35rem;
    border-width: 2px;
  }

  .craftio-cycle-node-icon svg {
    width: 22px;
    height: 22px;
  }

  .craftio-cycle-node-label {
    font-size: 0.7rem;
  }

  .craftio-cycle-node-0 { top: -18px; }
  .craftio-cycle-node-1 { right: -28px; }
  .craftio-cycle-node-2 { bottom: -18px; }
  .craftio-cycle-node-3 { left: -28px; }

  .craftio-cycle-centre {
    width: 220px;
  }

  .craftio-cycle-step-num {
    font-size: 2.25rem;
    margin-bottom: 0.3rem;
  }

  .craftio-cycle-step-title {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
  }

  .craftio-cycle-step-text {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0.65rem;
  }

  .craftio-cycle-step-tag {
    font-size: 0.6875rem;
    padding: 0.3rem 0.7rem;
  }

  .craftio-cycle-progress {
    margin-top: 3rem;
  }

  .craftio-cycle-hint {
    font-size: 0.75rem;
  }
}

/* Responsive — small phones */
@media (max-width: 450px) {
  .craftio-cycle-ring {
    width: 88vw;
    height: 88vw;
  }

  .craftio-cycle-node {
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
  }

  .craftio-cycle-node-icon svg {
    width: 18px;
    height: 18px;
  }

  .craftio-cycle-node-label {
    font-size: 0.5625rem;
  }

  .craftio-cycle-node-0 { top: -14px; }
  .craftio-cycle-node-1 { right: -18px; }
  .craftio-cycle-node-2 { bottom: -14px; }
  .craftio-cycle-node-3 { left: -18px; }

  .craftio-cycle-centre {
    width: 50%;
  }

  .craftio-cycle-step-num {
    font-size: 1.5rem;
  }

  .craftio-cycle-step-title {
    font-size: 0.875rem;
  }

  .craftio-cycle-step-text {
    font-size: 0.6875rem;
  }

  .craftio-cycle-step-tag {
    font-size: 0.5625rem;
    padding: 0.2rem 0.5rem;
  }
}

/* ========================================
   Products Showcase Home Section
   ======================================== */
.craftio-products-showcase-home {
  padding: 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.craftio-products-showcase-home::before {
  content: none;
}

.craftio-products-showcase-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.craftio-products-showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.craftio-products-showcase-text {
  color: #0f172a;
}

.craftio-products-showcase-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(59, 130, 246, 0.08));
  color: #6366f1;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.craftio-products-showcase-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.craftio-products-showcase-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.craftio-products-showcase-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.craftio-products-showcase-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.craftio-products-showcase-item:hover {
  background: #ffffff;
  transform: translateX(8px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.08);
}

.craftio-products-showcase-item-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff;
  border-radius: 12px;
  border: 1px solid #dbeafe;
}

.craftio-products-showcase-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.craftio-products-showcase-item p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.craftio-products-showcase-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.craftio-products-showcase-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
  gap: 1rem;
  color: #ffffff;
}

.craftio-products-showcase-button svg {
  transition: transform 0.3s ease;
}

.craftio-products-showcase-button:hover svg {
  transform: translateX(4px);
}

.craftio-products-showcase-visual {
  position: relative;
  perspective: 1000px;
}

.craftio-products-showcase-visual-inner {
  position: relative;
  height: 500px;
}

.craftio-products-showcase-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #e2e8f0;
}

.craftio-products-showcase-card-1 {
  width: 320px;
  height: 380px;
  top: 0;
  right: 0;
  z-index: 2;
  transform: rotateY(-5deg) rotateX(5deg);
}

.craftio-products-showcase-card-2 {
  width: 280px;
  height: 340px;
  bottom: 0;
  left: 0;
  z-index: 1;
  transform: rotateY(5deg) rotateX(-5deg);
}

.craftio-products-showcase-card:hover {
  transform: rotateY(0) rotateX(0) scale(1.05);
  box-shadow: 0 24px 60px rgba(59, 130, 246, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.craftio-products-showcase-card-header {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
}

.craftio-products-showcase-card-dots {
  display: flex;
  gap: 0.5rem;
}

.craftio-products-showcase-card-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
}

.craftio-products-showcase-card-dots span:first-child {
  background: #ef4444;
}

.craftio-products-showcase-card-dots span:nth-child(2) {
  background: #f59e0b;
}

.craftio-products-showcase-card-dots span:nth-child(3) {
  background: #10b981;
}

.craftio-products-showcase-card-content {
  padding: 1.5rem;
  height: calc(100% - 48px);
}

.craftio-products-showcase-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

.craftio-products-showcase-card-item {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

.craftio-products-showcase-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.craftio-products-showcase-card-list-item {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 8px;
  border: 1px solid #d1d5db;
  height: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .craftio-products-showcase-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .craftio-products-showcase-visual {
    order: 1;
  }
  
  .craftio-products-showcase-visual-inner {
    height: 400px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .craftio-products-showcase-card-1 {
    width: 280px;
    height: 320px;
    top: 20px;
    right: 20px;
  }
  
  .craftio-products-showcase-card-2 {
    width: 240px;
    height: 280px;
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 768px) {
  .craftio-products-showcase-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .craftio-products-showcase-text {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .craftio-products-showcase-visual {
    order: 2;
  }

  .craftio-products-showcase-wrapper {
    padding: 2.5rem 1.25rem;
  }

  .craftio-products-showcase-badge {
    align-self: center;
  }

  .craftio-products-showcase-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .craftio-products-showcase-description {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .craftio-products-showcase-visual-inner {
    display: none;
  }

  .craftio-products-showcase-items {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    width: 100%;
  }

  .craftio-products-showcase-item {
    padding: 0.85rem;
    text-align: left;
  }

  .craftio-products-showcase-item h4 {
    font-size: 0.9375rem;
  }

  .craftio-products-showcase-item p {
    font-size: 0.8125rem;
  }

  .craftio-products-showcase-item-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .craftio-products-showcase-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .craftio-why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .craftio-why-item {
    padding: 2rem 1.5rem;
  }
  
  .craftio-why-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .craftio-services-grid,
  .craftio-services-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .craftio-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .craftio-btn-primary,
  .craftio-btn-secondary {
    width: auto;
    text-align: center;
    justify-content: center;
  }
}

/* ========================================
   Products Page Styles
   ======================================== */
/* Products Showcase - Vertical Layout */
.craftio-products-showcase {
  background: #ffffff;
}

.craftio-product-row {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.craftio-product-row:nth-child(odd) {
  background: #ffffff;
}

.craftio-product-row:nth-child(even) {
  background: #f8fafc;
}

.craftio-product-row-alt {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.craftio-product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.craftio-product-content-reverse {
  direction: rtl;
}

.craftio-product-content-reverse > * {
  direction: ltr;
}

.craftio-product-info {
  max-width: 600px;
}

.craftio-product-label {
  display: inline-block;
  background: linear-gradient(135deg, #0066cc 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.craftio-product-label-alt {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.craftio-product-label-live {
  position: relative;
  padding-left: 2.25rem;
  background: transparent !important;
  border: 2px solid #0066cc;
  color: #0066cc;
}

.craftio-product-label-live::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  }
}

.craftio-product-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.craftio-product-text {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.craftio-product-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.craftio-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 10px;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
}

.craftio-highlight-item:hover {
  background: #eff6ff;
  transform: translateX(5px);
}

.craftio-highlight-icon {
  font-size: 1.25rem;
}

/* Product Visual / Image */
.craftio-product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.craftio-product-image-wrapper {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  background: #f3f4f6;
  position: relative;
}

.craftio-product-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.craftio-product-row:hover .craftio-product-image-wrapper {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.25);
}

.craftio-product-row:hover .craftio-product-image {
  transform: scale(1.05);
}

.mockup-header {
  background: #0f172a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

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

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #fbbf24; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-content {
  padding: 2rem;
  min-height: 280px;
  position: relative;
}

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

.mockup-card {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  border-radius: 8px;
  height: 80px;
  animation: pulse-card 2s ease-in-out infinite;
}

.mockup-card:nth-child(2) { animation-delay: 0.2s; }
.mockup-card:nth-child(3) { animation-delay: 0.4s; }
.mockup-card:nth-child(4) { animation-delay: 0.6s; }

@keyframes pulse-card {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.mockup-cart-icon,
.mockup-food-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  opacity: 0.3;
}

.mockup-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-menu-item {
  background: linear-gradient(90deg, #334155 0%, #475569 50%, #334155 100%);
  border-radius: 8px;
  height: 60px;
  animation: pulse-card 2s ease-in-out infinite;
}

.mockup-menu-item:nth-child(2) { animation-delay: 0.3s; }
.mockup-menu-item:nth-child(3) { animation-delay: 0.6s; }

.craftio-mockup-ecommerce {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.craftio-mockup-restaurant {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 100%);
}

.craftio-mockup-corporate {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}

.mockup-corporate {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.mockup-corporate-header {
  background: linear-gradient(90deg, #334155 0%, #475569 50%, #334155 100%);
  border-radius: 8px;
  height: 50px;
  animation: pulse-card 2s ease-in-out infinite;
}

.mockup-corporate-sections {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.mockup-corporate-section {
  background: linear-gradient(90deg, #475569 0%, #64748b 50%, #475569 100%);
  border-radius: 8px;
  height: 60px;
  animation: pulse-card 2s ease-in-out infinite;
}

.mockup-corporate-section:nth-child(2) { animation-delay: 0.3s; }
.mockup-corporate-section:nth-child(3) { animation-delay: 0.6s; }

.mockup-corporate-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  opacity: 0.3;
}

/* CTA Row */
.craftio-product-row-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  padding: 6rem 0;
}

.craftio-product-cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.craftio-product-cta-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float-icon 3s ease-in-out infinite;
}

.craftio-product-cta-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.craftio-product-cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.craftio-product-cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.craftio-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.craftio-cta-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.craftio-cta-feature-icon {
  font-size: 1.25rem;
}

.craftio-cta-feature-text {
  color: #ffffff;
  font-weight: 500;
}

/* Products Showcase Responsive */
@media (max-width: 968px) {
  .craftio-product-row {
    padding: 4rem 0;
  }
  
  .craftio-product-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .craftio-product-content-reverse {
    direction: ltr;
  }
  
  /* Put image above content on mobile */
  .craftio-product-visual {
    order: -1;
  }
  
  .craftio-product-info {
    max-width: 100%;
    text-align: center;
    order: 1;
  }
  
  .craftio-product-highlights {
    grid-template-columns: 1fr 1fr;
    justify-content: center;
  }
  
  .craftio-product-info .craftio-btn-primary {
    width: auto;
    align-self: center;
  }
  
  .craftio-product-image-wrapper {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .craftio-product-row {
    padding: 2.5rem 0;
  }

  .craftio-product-content {
    gap: 1.75rem;
  }

  .craftio-product-label {
    font-size: 0.625rem;
    padding: 0.3rem 0.85rem;
    margin-bottom: 0.75rem;
  }

  .craftio-product-heading {
    font-size: clamp(1.25rem, 4.5vw, 1.625rem);
    margin-bottom: 0.6rem;
  }

  .craftio-product-text {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .craftio-product-highlights {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .craftio-highlight-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.5rem;
    border-radius: 10px;
  }

  .craftio-highlight-icon {
    font-size: 1rem;
  }

  .craftio-product-image-wrapper {
    max-width: 100%;
    border-radius: 16px;
  }

  .craftio-product-info .craftio-btn-primary,
  .craftio-btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
  }

  .craftio-product-row-cta {
    padding: 3rem 0;
  }

  .craftio-product-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .craftio-product-cta-heading {
    font-size: clamp(1.25rem, 4.5vw, 1.625rem);
    margin-bottom: 0.75rem;
  }

  .craftio-product-cta-text {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .craftio-cta-feature {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .craftio-cta-feature-icon {
    font-size: 1rem;
  }

  .craftio-cta-feature-text {
    font-size: 0.75rem;
  }

  .craftio-btn-reference {
    font-size: 0.75rem;
    padding: 0.65rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .craftio-product-highlights {
    grid-template-columns: 1fr;
  }
  
  .craftio-product-cta-features {
    flex-direction: column;
    align-items: center;
  }
}

/* Legacy Grid Styles */
.craftio-products-section {
  padding: 4rem 0;
  background: #ffffff;
}

.craftio-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.craftio-product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.craftio-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 102, 204, 0.12);
}

.craftio-product-featured {
  border-color: #0066cc;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1);
}

.craftio-product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.craftio-product-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.craftio-product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.craftio-product-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.craftio-product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.craftio-product-card .craftio-btn-primary {
  margin-top: auto;
}

/* Custom Design Product Card - Purple/Violet Theme */
.craftio-product-custom {
  border-color: #8b5cf6;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.craftio-product-custom:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(139, 92, 246, 0.2);
  border-color: #7c3aed;
}

.craftio-product-icon-custom {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
}

.craftio-feature-tag-custom {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

.craftio-btn-custom {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  border: none;
}

.craftio-btn-custom:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

/* ========================================
   About Page Styles
   ======================================== */
.craftio-about-section {
  padding: 4rem 0;
  background: #ffffff;
}

.craftio-about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.craftio-about-content {
  padding-right: 2rem;
}

.craftio-about-text {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.craftio-about-stats-card {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.craftio-about-stat {
  text-align: center;
  color: #ffffff;
}

.craftio-about-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.craftio-about-stat-label {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* Tech Stack Section - Slider Design */
.craftio-tech-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.craftio-tech-slider-wrapper {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  box-sizing: border-box;
  overflow: hidden;
}

.craftio-tech-slider {
  flex: 1;
  overflow: visible;
  position: relative;
  padding: 1rem 0;
}

.craftio-tech-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.craftio-tech-item {
  flex: 0 0 calc(33.333% - 1rem);
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.craftio-tech-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
  border-color: #0066cc;
  z-index: 10;
}

.craftio-tech-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.3s ease;
}

.craftio-tech-item:hover .craftio-tech-icon {
  transform: scale(1.1) rotate(5deg);
}

.craftio-tech-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.craftio-tech-description {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}

.craftio-tech-slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  color: #0066cc;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

.craftio-tech-slider-btn:hover {
  background: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.craftio-tech-slider-btn:active {
  transform: scale(0.95);
}

.craftio-tech-slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.craftio-tech-slider-btn:disabled:hover {
  background: #ffffff;
  color: #0066cc;
  border-color: #e5e7eb;
  transform: none;
}

.craftio-tech-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.craftio-tech-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.craftio-tech-slider-dot.active {
  background: #0066cc;
  transform: scale(1.2);
}

.craftio-tech-slider-dot:hover {
  background: #9ca3af;
  transform: scale(1.1);
}

/* Values Section - Modern Tech Grid Layout */
.craftio-values-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
  position: relative;
  overflow: hidden;
}

.craftio-values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.craftio-values-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.craftio-value-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.craftio-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.craftio-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color);
}

.craftio-value-card:hover::before {
  transform: scaleX(1);
}

.craftio-value-card-icon {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.craftio-value-icon-bg {
  width: 80px;
  height: 80px;
  background: var(--icon-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.craftio-value-card:hover .craftio-value-icon-bg {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px var(--icon-shadow);
}

.craftio-value-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.craftio-value-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.craftio-value-description {
  font-size: 1.0625rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

.craftio-value-card-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--accent-gradient);
  opacity: 0.05;
  border-radius: 50% 0 0 0;
  transition: opacity 0.4s ease;
}

.craftio-value-card:hover .craftio-value-card-accent {
  opacity: 0.1;
}

/* Individual card colors */
.craftio-value-card-1 {
  --accent-color: #3b82f6;
  --icon-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  --icon-shadow: rgba(59, 130, 246, 0.3);
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.craftio-value-card-2 {
  --accent-color: #10b981;
  --icon-bg: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  --icon-shadow: rgba(16, 185, 129, 0.3);
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.craftio-value-card-3 {
  --accent-color: #f59e0b;
  --icon-bg: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  --icon-shadow: rgba(245, 158, 11, 0.3);
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.craftio-value-card-4 {
  --accent-color: #8b5cf6;
  --icon-bg: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  --icon-shadow: rgba(139, 92, 246, 0.3);
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.craftio-value-number,
.craftio-value-item .value-icon {
  display: none;
}

/* ========================================
   Technology Stack Slider (About page)
   ======================================== */

.craftio-tech-section {
  padding: 5rem 0;
  background: #f9fafb;
  }
  
  .craftio-tech-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  }
  
.craftio-tech-slider {
  flex: 1;
  overflow: hidden;
  }
  
  .craftio-tech-slider-track {
  display: flex;
  gap: 1.5rem;
  }

.craftio-tech-item {
  flex: 0 0 calc(33.333% - 1rem);
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
}

.craftio-tech-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.craftio-tech-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.craftio-tech-description {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

.craftio-tech-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.craftio-tech-slider-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}

/* Tech Slider Responsive */
@media (max-width: 968px) {
  .craftio-tech-section {
    padding: 4.5rem 0;
  }

  .craftio-tech-slider-wrapper {
    gap: 0.75rem;
    padding: 0 1.25rem;
  }
  
  .craftio-tech-item {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .craftio-tech-section {
    padding: 4rem 0;
  }
  
  .craftio-tech-slider-wrapper {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .craftio-tech-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .craftio-tech-slider-track {
    gap: 0.75rem;
  }
  
  .craftio-tech-slider-btn {
    display: none;
  }
  
  .craftio-tech-item {
    flex: 0 0 80%;
    min-width: 260px;
    padding: 1.75rem 1.5rem;
  }
  
  .craftio-tech-icon {
    font-size: 2.5rem;
  }
  
  .craftio-tech-title {
    font-size: 1.1rem;
  }
  
  .craftio-tech-description {
    font-size: 0.9rem;
  }
}

/* Values Modern Grid Responsive */
@media (max-width: 968px) {
  .craftio-values-modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .craftio-value-card {
    padding: 2.5rem;
  }
  
  .craftio-value-icon-bg {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .craftio-values-section {
    padding: 4rem 0;
  }
  
  .craftio-value-card {
    padding: 2rem;
  }
  
  .craftio-value-icon-bg {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .craftio-value-title {
    font-size: 1.5rem;
  }
  
  .craftio-value-description {
    font-size: 1rem;
  }
  
  .craftio-value-card-accent {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 968px) {
  .craftio-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .craftio-about-content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .craftio-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Page Header Enhancements
   ======================================== */
.page-header-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: float-icon 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Section Icon Wrapper
   ======================================== */
.section-icon-wrapper {
  margin-bottom: 1.5rem;
}

.section-icon {
  font-size: 3rem;
  display: inline-block;
  animation: float-icon 3s ease-in-out infinite;
}

/* ========================================
   Icon Animations
   ======================================== */
.icon-float {
  animation: float-icon 3s ease-in-out infinite;
}

.icon-pulse {
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ========================================
   Badge Animations
   ======================================== */
.pulse-badge {
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(0, 102, 204, 0); }
}

/* ========================================
   CTA Icon
   ======================================== */
.cta-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: float-icon 3s ease-in-out infinite;
  display: inline-block;
}

/* ========================================
   Contact Page Enhancements
   ======================================== */
.contact-info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.detail-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.craftio-contact-detail-item {
  position: relative;
  padding-left: 2.5rem;
  transition: transform 0.3s ease;
}

.craftio-contact-detail-item:hover {
  transform: translateX(5px);
}

.craftio-contact-detail-item .detail-icon {
  position: absolute;
  left: 0;
  top: 0;
}

/* ========================================
   Button Enhancements
   ======================================== */
.craftio-btn-primary {
  position: relative;
  overflow: hidden;
}

.craftio-btn-primary .btn-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.craftio-btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.craftio-btn-primary:active .btn-icon {
  transform: translateX(8px);
}

/* ========================================
   Value Item Icons
   ======================================== */
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: float-icon 3s ease-in-out infinite;
  opacity: 0.8;
}

.craftio-value-item {
  position: relative;
  padding-top: 1rem;
}

.craftio-value-item .value-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  opacity: 0.15;
  font-size: 4rem;
  z-index: 0;
}

.craftio-value-item .craftio-value-title,
.craftio-value-item .craftio-value-description {
  position: relative;
  z-index: 1;
}

/* ========================================
   Enhanced Hover Effects
   ======================================== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
}

/* ========================================
   Service Detail Card Enhancements
   ======================================== */
.craftio-service-detail-card {
  position: relative;
  overflow: hidden;
}

.craftio-service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 102, 204, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.craftio-service-detail-card:hover::before {
  left: 100%;
}

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

.craftio-service-detail-icon {
  transition: transform 0.4s ease;
}

/* ========================================
   Product Card Enhancements
   ======================================== */
.craftio-product-card {
  position: relative;
  overflow: hidden;
}

.craftio-product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0) 0%, rgba(0, 102, 204, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.craftio-product-card:hover::after {
  opacity: 1;
}

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

.craftio-product-icon {
  transition: transform 0.4s ease;
}

/* ========================================
   Tech Item Enhancements
   ======================================== */
.craftio-tech-item {
  position: relative;
  overflow: hidden;
}

.craftio-tech-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  border-radius: 50%;
}

.craftio-tech-item:hover::before {
  width: 200%;
  height: 200%;
}

.craftio-tech-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.craftio-tech-item:hover .craftio-tech-icon {
  transform: scale(1.15);
}

/* ========================================
   Form Enhancements
   ======================================== */
.craftio-form-group input:focus,
.craftio-form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.craftio-form-group {
  transition: transform 0.2s ease;
}

.craftio-form-group:focus-within {
  transform: translateY(-2px);
}

/* ========================================
   Stats Card Animation
   ======================================== */
.craftio-about-stats-card {
  position: relative;
  overflow: hidden;
}

.craftio-about-stats-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate-gradient 20s linear infinite;
}

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

.craftio-about-stat {
  position: relative;
  z-index: 1;
}

/* ========================================
   Page Load Animation
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
  .page-header-icon,
  .section-icon,
  .cta-icon,
  .contact-info-icon {
    font-size: 2rem;
  }
  
  .value-icon {
    font-size: 2.5rem;
  }
  
  .detail-icon {
    font-size: 1.125rem;
  }
  
  .craftio-about-stat-number {
    font-size: 1.5rem;
    white-space: nowrap;
  }
  
  .craftio-about-stats-card {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }
}

/* ========================================
   Page Header Styles (Override)
   ======================================== */

/* ========================================
   Privacy Policy Page Styles
   ======================================== */
.craftio-privacy-section {
  padding: 4rem 0 6rem;
  background: #ffffff;
}

.craftio-privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.craftio-privacy-intro {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.craftio-privacy-updated {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
  font-style: italic;
}

.craftio-privacy-intro-text {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.8;
}

.craftio-privacy-section-item {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.craftio-privacy-section-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.craftio-privacy-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.craftio-privacy-subheading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.craftio-privacy-text {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.craftio-privacy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.craftio-privacy-list li {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.craftio-privacy-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: 700;
  font-size: 1.25rem;
}

.craftio-privacy-list li strong {
  color: #111827;
  font-weight: 600;
}

.craftio-privacy-contact {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid #0066cc;
}

.craftio-privacy-contact p {
  margin-bottom: 0.5rem;
  color: #374151;
}

.craftio-privacy-contact p:last-child {
  margin-bottom: 0;
}

.craftio-privacy-contact a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.craftio-privacy-contact a:hover {
  text-decoration: underline;
}

/* Privacy Page Responsive */
@media (max-width: 768px) {
  .craftio-privacy-section {
    padding: 2.5rem 0 3rem;
  }
  
  .craftio-privacy-content {
    padding: 0 1rem;
  }
  
  .craftio-privacy-heading {
    font-size: 1.25rem;
  }
  
  .craftio-privacy-subheading {
    font-size: 1rem;
  }
  
  .craftio-privacy-text,
  .craftio-privacy-list li {
    font-size: 0.8125rem;
  }
  
  .craftio-privacy-section-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* ========================================
   MODERN INTERACTIVE FEATURES
   ======================================== */

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* ---- Custom Cursor ---- */
.c-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
  opacity: 0;
}

.c-cursor.visible { opacity: 1; }

.c-cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.c-cursor-ring.visible { opacity: 1; }

.c-cursor.hovering {
  width: 14px;
  height: 14px;
  background: rgba(59, 130, 246, 0.5);
}

.c-cursor-ring.hovering {
  width: 50px;
  height: 50px;
  border-color: rgba(59, 130, 246, 0.3);
}

@media (pointer: coarse) {
  .c-cursor,
  .c-cursor-ring {
    display: none !important;
  }
}

/* ---- Hero Floating Decorative Blobs (legacy, replaced by orbs) ---- */
.hero-blob {
  display: none;
}

/* ---- Card Spotlight / Glow on Hover ---- */
.card-spotlight {
  position: relative;
  overflow: hidden;
}

.card-spotlight::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  z-index: 0;
}

.card-spotlight:hover::after {
  opacity: 1;
}

/* ---- Card 3D Tilt Effect ---- */
.tilt-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ---- Ripple Effect on Buttons ---- */
.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---- Modern Reveal Animations ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale-up.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }

/* ---- Magnetic Button Hover ---- */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Gradient Text Utility ---- */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Animated Gradient Border ---- */
.gradient-border {
  position: relative;
  border: none !important;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
  background-size: 300% 300%;
  animation: gradientBorderRotate 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

@keyframes gradientBorderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Typewriter Cursor ---- */
.typewriter {
  position: relative;
}

/* Hide text before typing starts (JS sets visibility: visible) */
.typewriter.typewriter-ready {
  min-height: 1.2em;
}

/* Blinking cursor — only on the element currently being typed */
.typewriter.typewriter-active::after {
  content: '|';
  animation: typewriterBlink 0.8s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
  opacity: 0.7;
  -webkit-text-fill-color: currentColor;
  background: none;
}

/* Keep cursor briefly after finishing, then hide */
.typewriter.typewriter-done::after {
  content: '|';
  font-weight: 300;
  margin-left: 2px;
  opacity: 0.7;
  -webkit-text-fill-color: currentColor;
  background: none;
  animation: typewriterBlink 0.8s step-end 3, typewriterFadeOut 0.3s ease 2.4s forwards;
}

@keyframes typewriterBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes typewriterFadeOut {
  to { opacity: 0; }
}

/* Page header typewriter — ensure proper z-index and white text */
.craftio-page-header .typewriter {
  color: #ffffff;
}

.craftio-page-header .craftio-page-title.typewriter {
  min-height: 1.3em;
}

.craftio-page-header .craftio-page-subtitle.typewriter {
  min-height: 1.8em;
}

/* ---- Modern Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #60a5fa, #a78bfa);
}

/* ---- Section Decorative Shapes ---- */
.section-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-deco-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.06);
}

.section-deco-dots {
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.1) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  width: 120px;
  height: 120px;
}

/* ---- Hero Floating Grid Lines ---- */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 70%);
}

/* ---- Products showcase button override ---- */
.craftio-products-showcase-button {
  border-radius: 50px;
  font-weight: 600;
}

/* ---- Enhanced Wizard Tag ---- */
.craftio-cycle-step-tag {
  border-radius: 50px;
}

/* ---- Service detail icon ---- */
.craftio-service-detail-icon {
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

/* ---- Product Label ---- */
.craftio-product-label {
  border-radius: 50px;
}

/* ---- Section Decorative Orbs ---- */
.section-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.2;
  z-index: 0;
  will-change: transform;
}

.section-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  top: -15%;
  right: -8%;
  animation: orbDrift1 20s ease-in-out infinite;
}

.section-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: orbDrift2 25s ease-in-out infinite;
}

@media (max-width: 768px) {
  .section-orb-1 { width: 250px; height: 250px; }
  .section-orb-2 { width: 180px; height: 180px; }
}

/* ---- Smooth anchor scroll offset ---- */
html {
  scroll-padding-top: 80px;
}

/* ========================================
   Blog Section Styles
   ======================================== */

.craftio-blog-section {
  padding: 5rem 0 4rem;
  background: #ffffff;
}

.craftio-blog-section .craftio-section-label {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.08));
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.15);
}

.craftio-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Blog Card */
.craftio-blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.craftio-blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(99, 102, 241, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.craftio-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 102, 204, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.craftio-blog-card:hover::before {
  opacity: 1;
}

/* Blog Card Thumbnail */
.craftio-blog-card-thumb {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f1f5f9;
}

.craftio-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftio-blog-card:hover .craftio-blog-card-thumb img {
  transform: scale(1.06);
}

.craftio-blog-thumb-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Speed article thumbnail */
.craftio-blog-thumb-speed {
  background: linear-gradient(135deg, #0a0e27 0%, #0d1b3e 40%, #1a3a6e 100%);
  color: rgba(59, 130, 246, 0.9);
}

.blog-thumb-gauge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.blog-thumb-gauge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(59, 130, 246, 0.15);
  border-top-color: #3b82f6;
  border-right-color: #3b82f6;
  animation: gaugeRotate 3s linear infinite;
}

@keyframes gaugeRotate {
  to { transform: rotate(360deg); }
}

.blog-thumb-gauge-needle {
  position: absolute;
  width: 2px;
  height: 40px;
  background: linear-gradient(to top, #3b82f6, transparent);
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  animation: needleSwing 2s ease-in-out infinite alternate;
}

@keyframes needleSwing {
  0% { transform: translateX(-50%) rotate(-45deg); }
  100% { transform: translateX(-50%) rotate(45deg); }
}

.blog-thumb-icon {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
}

.blog-thumb-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  opacity: 0;
  animation: blogParticle 3s ease-in-out infinite;
}

.blog-thumb-particles span:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.blog-thumb-particles span:nth-child(2) { top: 70%; left: 80%; animation-delay: 0.6s; }
.blog-thumb-particles span:nth-child(3) { top: 30%; left: 75%; animation-delay: 1.2s; }
.blog-thumb-particles span:nth-child(4) { top: 65%; left: 20%; animation-delay: 1.8s; }
.blog-thumb-particles span:nth-child(5) { top: 45%; left: 90%; animation-delay: 2.4s; }

@keyframes blogParticle {
  0%, 100% { opacity: 0; transform: scale(0) translateY(0); }
  50% { opacity: 0.8; transform: scale(1) translateY(-10px); }
}

/* Maintenance article thumbnail */
.craftio-blog-thumb-maintenance {
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 40%, #1a4a3e 100%);
  color: rgba(6, 182, 212, 0.9);
}

.blog-thumb-shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-shield .blog-thumb-icon {
  color: #06b6d4;
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.4));
}

.blog-thumb-shield-pulse {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.2);
  animation: shieldPulse 2.5s ease-out infinite;
}

@keyframes shieldPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.blog-thumb-gears {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-thumb-gear {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.25;
}

.blog-thumb-gear-1 {
  top: 18%;
  right: 18%;
  animation: gearSpin 6s linear infinite;
}

.blog-thumb-gear-2 {
  bottom: 20%;
  left: 15%;
  font-size: 1.2rem;
  animation: gearSpin 8s linear infinite reverse;
}

@keyframes gearSpin {
  to { transform: rotate(360deg); }
}

/* Blog card hover thumb effect */
.craftio-blog-card:hover .craftio-blog-card-thumb {
  filter: brightness(1.05);
}

/* Date badge on thumbnail */
.craftio-blog-card-date {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.craftio-blog-card-date svg {
  stroke: currentColor;
  opacity: 0.7;
}

/* Blog card body */
.craftio-blog-card-body {
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.craftio-blog-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.craftio-blog-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.06), rgba(59, 130, 246, 0.06));
  color: #3b82f6;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.craftio-blog-card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.craftio-blog-card:hover .craftio-blog-card-title {
  color: #0066cc;
}

.craftio-blog-card-excerpt {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.craftio-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #0066cc;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  font-family: inherit;
}

.craftio-blog-read-more svg {
  transition: transform 0.3s ease;
}

.craftio-blog-read-more:hover {
  color: #3b82f6;
}

.craftio-blog-read-more:hover svg {
  transform: translateX(5px);
}

/* ========================================
   Blog Modal
   ======================================== */

.craftio-blog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 2rem;
}

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

.craftio-blog-modal {
  background: #ffffff;
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.craftio-blog-modal.active {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.craftio-blog-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #374151;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.craftio-blog-modal-close:hover {
  background: #ffffff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.craftio-blog-modal-thumb {
  height: 460px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.craftio-blog-modal-thumb-img {
  background: #f1f5f9;
}

.craftio-blog-modal-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craftio-blog-modal-thumb.craftio-blog-thumb-speed {
  background: linear-gradient(135deg, #0a0e27 0%, #0d1b3e 40%, #1a3a6e 100%);
  color: rgba(59, 130, 246, 0.9);
}

.craftio-blog-modal-thumb.craftio-blog-thumb-maintenance {
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 40%, #1a4a3e 100%);
  color: rgba(6, 182, 212, 0.9);
}

.craftio-blog-modal-content {
  padding: 2.5rem;
}

.craftio-blog-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.craftio-blog-modal-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
}

.craftio-blog-modal-date svg {
  stroke: #64748b;
}

.craftio-blog-modal-tags {
  display: flex;
  gap: 0.5rem;
}

.craftio-blog-modal-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.craftio-blog-modal-body {
  color: #374151;
  line-height: 1.85;
  font-size: 1rem;
}

.craftio-blog-modal-body h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.craftio-blog-modal-body p {
  margin-bottom: 1rem;
  color: #475569;
}

.craftio-blog-modal-body ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: #475569;
}

.craftio-blog-modal-body li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.craftio-blog-modal-body strong {
  color: #0f172a;
  font-weight: 600;
}

/* Blog modal scrollbar */
.craftio-blog-modal::-webkit-scrollbar {
  width: 6px;
}

.craftio-blog-modal::-webkit-scrollbar-track {
  background: transparent;
}

.craftio-blog-modal::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.craftio-blog-modal::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Blog CTA Section */
.craftio-blog-cta-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.craftio-blog-cta-content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.craftio-blog-cta-content h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.craftio-blog-cta-content p {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ========================================
   Homepage Blog Preview Section
   ======================================== */

.craftio-blog-home-section {
  padding: 6rem 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.craftio-blog-home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.craftio-blog-home-section .craftio-section-label {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.08));
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.15);
}

.craftio-blog-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

/* Home blog preview card — vertical layout */
.craftio-blog-home-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.craftio-blog-home-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(99, 102, 241, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.craftio-blog-home-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 102, 204, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
  color: inherit;
}

.craftio-blog-home-card:hover::before {
  opacity: 1;
}

.craftio-blog-home-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.craftio-blog-home-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftio-blog-home-card:hover .craftio-blog-home-card-thumb img {
  transform: scale(1.06);
}

.craftio-blog-home-card-thumb .craftio-blog-home-card-date {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0;
}

.craftio-blog-home-card-thumb .craftio-blog-home-card-date svg {
  stroke: rgba(255, 255, 255, 0.8);
}

.craftio-blog-home-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.craftio-blog-home-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.craftio-blog-home-card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  transition: color 0.3s ease;
}

.craftio-blog-home-card:hover .craftio-blog-home-card-title {
  color: #0066cc;
}

.craftio-blog-home-card-excerpt {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 1.25rem;
  flex: 1;
}

.craftio-blog-home-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.craftio-blog-home-read-more svg {
  transition: transform 0.3s ease;
}

.craftio-blog-home-card:hover .craftio-blog-home-read-more {
  color: #3b82f6;
}

.craftio-blog-home-card:hover .craftio-blog-home-read-more svg {
  transform: translateX(5px);
}

.craftio-blog-home-view-all {
  text-align: center;
}

.craftio-blog-home-view-all a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #0066cc, #3b82f6);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
}

.craftio-blog-home-view-all a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
  gap: 1rem;
  color: #ffffff;
}

.craftio-blog-home-view-all a svg {
  transition: transform 0.3s ease;
}

.craftio-blog-home-view-all a:hover svg {
  transform: translateX(4px);
}

/* ========================================
   Blog Responsive
   ======================================== */

@media (max-width: 768px) {
  .craftio-blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .craftio-blog-card-thumb {
    height: 200px;
  }

  .craftio-blog-card-body {
    padding: 1.25rem;
  }

  .craftio-blog-card-title {
    font-size: 1.2rem;
  }

  .craftio-blog-modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .craftio-blog-modal {
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
  }

  .craftio-blog-modal-thumb {
    height: 200px;
    border-radius: 20px 20px 0 0;
  }

  .craftio-blog-modal-content {
    padding: 1.5rem;
  }

  .craftio-blog-modal-title {
    font-size: 1.35rem;
  }

  .craftio-blog-home-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .craftio-blog-home-card {
    flex: 0 0 85%;
    min-width: 260px;
    scroll-snap-align: start;
  }

  .craftio-blog-home-card-thumb {
    height: 170px;
  }

  .craftio-blog-home-card-body {
    padding: 1rem;
  }

  .craftio-blog-home-card-title {
    font-size: 1rem;
  }

  .craftio-blog-home-card-excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  .craftio-blog-home-read-more {
    font-size: 0.8125rem;
  }

  .craftio-blog-cta-section {
    padding: 2.5rem 0;
  }

  .craftio-blog-section {
    padding: 2.5rem 0;
  }

  .craftio-blog-home-section {
    padding: 3rem 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .craftio-blog-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ========================================
   Global Mobile Overrides — Compact Layout
   Standardised font scale across ALL pages
   ======================================== */
@media (max-width: 768px) {

  /* ---- Shared section headers (used on every page) ---- */
  .craftio-section-header {
    margin-bottom: 1.75rem;
  }

  .craftio-section-label {
    font-size: 0.6875rem;
    padding: 0.3rem 0.85rem;
    margin-bottom: 0.6rem;
  }

  .craftio-section-title {
    font-size: clamp(1.25rem, 4.5vw, 1.625rem);
    margin-bottom: 0.4rem;
  }

  .craftio-section-subtitle {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  /* ---- Page headers (About, Services, Products, Contact, Privacy) ---- */
  .craftio-page-header {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }

  .craftio-page-header-content {
    padding: 0 1.25rem;
  }

  .craftio-page-title {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
    margin-bottom: 0.75rem;
  }

  .craftio-page-subtitle {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  /* ---- Contact page ---- */
  .craftio-contact-section {
    padding: 3rem 0;
  }

  .craftio-contact-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .craftio-contact-description {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .craftio-contact-detail-item strong {
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
  }

  .craftio-contact-detail-item p {
    font-size: 0.8125rem;
  }

  .craftio-contact-form-wrapper {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .craftio-form-group label {
    font-size: 0.8125rem;
    margin-bottom: 0.35rem;
  }

  .craftio-form-group .form-control {
    padding: 0.7rem 0.875rem;
    font-size: 0.875rem;
    border-radius: 12px;
  }

  /* ---- Services detail page ---- */
  .craftio-services-detail-section {
    padding: 3rem 0;
  }

  .craftio-service-detail-title {
    font-size: 1.125rem;
    margin-bottom: 0.6rem;
  }

  .craftio-service-detail-description {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .craftio-services-detail-grid {
    grid-template-columns: 1fr;
  }

  /* ---- About page ---- */
  .craftio-about-section {
    padding: 3rem 0;
  }

  .craftio-about-text {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .craftio-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .craftio-about-content {
    padding-right: 0;
  }

  .craftio-about-stat-number {
    font-size: 1.5rem;
  }

  /* ---- Index-specific section spacing ---- */
  .craftio-services-section {
    padding: 2rem 0;
  }

  .craftio-services-section .craftio-section-header {
    margin-bottom: 1rem;
  }

  .craftio-logos-section .craftio-section-header {
    margin-bottom: 0.75rem;
  }

  /* ---- Privacy page ---- */
  .craftio-privacy-intro-text {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  /* ---- Blog view-all button ---- */
  .craftio-blog-home-view-all a {
    padding: 0.65rem 1.25rem;
    font-size: 0.8125rem;
  }

  /* ---- Horizontal scroll bars (Why Craftio, Blog) ---- */
  .craftio-why-slider::-webkit-scrollbar,
  .craftio-blog-home-grid::-webkit-scrollbar {
    height: 4px;
  }

  .craftio-why-slider::-webkit-scrollbar-track,
  .craftio-blog-home-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
  }

  .craftio-why-slider::-webkit-scrollbar-thumb,
  .craftio-blog-home-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }
}
