/* =========================================================
   KRS CONNECT — BRAND DESIGN SYSTEM
   Color Palette & Theme Variables
   ========================================================= */
:root {
  --krs-accent: #F2C230;
  --krs-accent-hover: #E8AE45;
  --krs-accent-light: #F7E27A;
  --krs-accent-glow: rgba(242, 194, 48, 0.35);
  --krs-bg: #0A0C26;
  --krs-card: #10133A;
  --krs-blue: #1F1D4B;
  --krs-blue-glow: #2A3A8F;
  --krs-text: #FFFFFF;
  --krs-text-muted: #B9BCD6;
  --krs-on-accent: #0A0C26;
  --krs-border: rgba(255, 255, 255, 0.12);
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--krs-text);
  background-color: var(--krs-bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: transparent;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Selection & Focus States */
::selection {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
}

::-moz-selection {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
}

:focus-visible {
  outline: 2px solid var(--krs-accent);
  outline-offset: 2px;
}

/* =========================================================
   Fixed Background Canvas (Scroll-Driven Image Sequence)
   ========================================================= */
#animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

/* =========================================================
   Content Layer Placed Directly Over the Scroll Animation
   ========================================================= */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  pointer-events: auto;
}

/* =========================================================
   Hero Card Section (Rounded Bottom Edge from Reference)
   ========================================================= */
.hero-card {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 5% 48px;
  position: relative;
  /* Dark overlay above photos: gradient from rgba(10,12,38,0.85) to rgba(10,12,38,0.55) */
  background: linear-gradient(180deg, rgba(10, 12, 38, 0.85) 0%, rgba(10, 12, 38, 0.55) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  border-bottom: 1px solid var(--krs-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Dual Atmospheric Glow: Left Blue Glow (#2A3A8F) + Right Amber/Yellow Glow (#E8AE45) */
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  pointer-events: none;
  background: 
    radial-gradient(circle at 10% 25%, rgba(42, 58, 143, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 90% 35%, rgba(232, 174, 69, 0.25) 0%, transparent 50%);
  z-index: 1;
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

/* Header & Nav */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 24px;
}

/* Logo Pill Container */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-pill {
  background-color: #FFFFFF;
  padding: 5px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.logo-pill:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.28);
}

.logo-img {
  height: 30px;
  width: auto;
  max-width: 135px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--krs-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--krs-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--krs-on-accent);
  padding: 6px 6px 6px 22px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-white:hover {
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Main Brand Yellow Button */
.btn-yellow {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
  padding: 8px 8px 8px 24px;
  font-size: 15px;
  box-shadow: 0 4px 18px var(--krs-accent-glow);
}

.btn-yellow:hover {
  background-color: var(--krs-accent-hover);
  box-shadow: 0 8px 25px rgba(232, 174, 69, 0.45);
}

.btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover .btn-circle {
  transform: scale(1.06);
}

/* Yellow circle on white button */
.yellow-circle {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
}

.btn-white:hover .yellow-circle {
  background-color: var(--krs-accent-hover);
}

/* White circle on yellow button */
.white-circle {
  background-color: #FFFFFF;
  color: var(--krs-on-accent);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

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

.navy-arrow {
  color: var(--krs-on-accent);
}

/* Hero Body */
.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding-top: 40px;
}

.hero-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
}

.hero-left {
  flex: 1;
}

.hero-greeting {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--krs-text-muted);
  margin-bottom: 12px;
}

.hero-headline {
  font-size: clamp(48px, 7.5vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--krs-text);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
  word-break: keep-all;
}

.hero-right {
  max-width: 500px;
  padding-top: 28px;
}

.hero-quote {
  font-size: clamp(20px, 2.1vw, 29px);
  font-weight: 600;
  line-height: 1.28;
  color: var(--krs-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-quote .quote-line {
  display: block;
}

@media (min-width: 1025px) {
  .hero-quote .quote-line {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .hero-quote .quote-line {
    white-space: normal;
    text-wrap: balance;
  }
}

.hero-subtext {
  font-size: 15px;
  line-height: 1.6;
  color: var(--krs-text-muted);
  max-width: 420px;
}

/* Services Grid (4 Disciplines) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 60px;
  margin-top: auto;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-index {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--krs-accent);
}

.arrow-up-right {
  font-size: 16px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-item:hover .arrow-up-right {
  transform: translate(2px, -2px);
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--krs-text);
  letter-spacing: -0.01em;
}

/* =========================================================
   Clients Showcase Section ("Trusted with their videos")
   ========================================================= */
.clients-section {
  width: 100%;
  padding: 90px 0 100px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-top: 1px solid var(--krs-border);
  border-bottom: 1px solid var(--krs-border);
  background: linear-gradient(180deg, rgba(10, 12, 38, 0.45) 0%, rgba(10, 12, 38, 0.75) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.clients-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.clients-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clients-title {
  font-family: inherit;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--krs-text);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 38px;
  padding: 0 20px;
}

.clients-subtitle {
  font-family: inherit;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  color: var(--krs-text-muted);
  text-align: center;
  letter-spacing: -0.01em;
  margin-top: 38px;
  padding: 0 20px;
}

/* Marquee wrapper and fade-out edge masks */
.clients-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.clients-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: clientsMarquee 38s linear infinite;
  will-change: transform;
}

.clients-marquee-wrapper:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clientsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.clients-list {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px; /* Exact gap matching before repeating */
  flex-shrink: 0;
}

/* Client Pill - Dark Glass Aesthetic */
.client-pill {
  display: inline-flex;
  align-items: center;
  height: 84px;
  min-height: 84px;
  padding: 10px 26px 10px 10px;
  border-radius: 9999px;
  background: rgba(14, 17, 36, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--krs-text);
  gap: 16px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease,
              background-color 0.28s ease;
  cursor: default;
  user-select: none;
  flex-shrink: 0;
}

.client-pill.is-link {
  cursor: pointer;
}

.client-pill:hover {
  transform: translateY(-4px);
  border-color: var(--krs-accent);
  background: rgba(18, 22, 48, 0.85);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5),
              0 0 20px var(--krs-accent-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Avatar container */
.client-avatar-wrapper {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.client-avatar-wrapper img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Instagram Story Gradient Ring (for charlotte.bill & academiemlm as in reference) */
.client-avatar-wrapper.has-story {
  width: 64px;
  height: 64px;
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 0 10px rgba(220, 39, 67, 0.35);
}

.client-avatar-wrapper.has-story img {
  width: 100%;
  height: 100%;
  border: 2px solid #0d1024;
}

/* Fallback Initials Badge */
.client-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(242, 194, 48, 0.12);
  border: 1px solid rgba(242, 194, 48, 0.3);
  color: var(--krs-accent);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

/* Client Info (Name & Followers) */
.client-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.client-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.client-followers {
  font-size: 13px;
  font-weight: 400;
  color: var(--krs-text-muted);
  margin-top: 3px;
  white-space: nowrap;
}

/* =========================================================
   Mobile View (< 768px): Staggered 2-Column Wrap
   ========================================================= */
@media (max-width: 767px) {
  .clients-section {
    padding: 50px 12px 60px 12px;
    overflow: hidden;
  }

  .clients-title {
    font-size: clamp(22px, 5.8vw, 30px);
    margin-bottom: 22px;
    padding: 0 10px;
    line-height: 1.25;
  }

  .clients-subtitle {
    font-size: 13px;
    margin-top: 26px;
    padding: 0 10px;
    line-height: 1.4;
  }

  .clients-marquee-wrapper {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0;
    width: 100%;
  }

  .clients-track {
    animation: none !important;
    transform: none !important;
    width: 100% !important;
    display: block;
  }

  /* Hide duplicate marquee set */
  .clients-list#clients-list-duplicate {
    display: none !important;
  }

  /* 2-column grid layout matching screenshot 3 */
  .clients-list#clients-list-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  .client-pill {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 54px;
    min-height: 54px;
    padding: 4px 10px 4px 4px;
    gap: 8px;
    border-radius: 9999px;
    flex-shrink: 1;
    box-sizing: border-box;
  }

  .client-avatar-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .client-avatar-wrapper img {
    width: 44px;
    height: 44px;
  }

  .client-avatar-wrapper.has-story {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 2px;
  }

  .client-avatar-fallback {
    font-size: 14px;
  }

  .client-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .client-name {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }

  .client-followers {
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin-top: 1px;
  }

  /* Stagger: Even items (right column) slightly lower by ~10px */
  .clients-list#clients-list-primary .client-pill:nth-child(2),
  .clients-list#clients-list-primary .client-pill:nth-child(4),
  .clients-list#clients-list-primary .client-pill:nth-child(6) {
    transform: translateY(10px);
  }

  .clients-list#clients-list-primary .client-pill:nth-child(2):hover,
  .clients-list#clients-list-primary .client-pill:nth-child(4):hover,
  .clients-list#clients-list-primary .client-pill:nth-child(6):hover {
    transform: translateY(6px);
  }

  /* 7th item (last child): Centered across both columns at the bottom */
  .clients-list#clients-list-primary .client-pill:nth-child(7) {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
    min-width: 175px;
    max-width: 220px;
    margin-top: 14px;
    transform: none;
  }

  .clients-list#clients-list-primary .client-pill:nth-child(7):hover {
    transform: translateY(-4px);
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
  }
  .clients-list#clients-list-duplicate {
    display: none !important;
  }
  .clients-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Projects Section (Full Width, Fully Transparent Background)
   ========================================================= */
.projects-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
  background: transparent !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.carousel-viewport {
  width: 100vw;
  height: 640px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-viewport canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* Fullscreen Lightbox (Strictly No Text) */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 38, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.video-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  object-fit: cover;
  outline: none;
  background-color: var(--krs-bg);
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--krs-border);
  color: var(--krs-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 1010;
}

.lightbox-close:hover {
  background: var(--krs-accent);
  border-color: var(--krs-accent);
  color: var(--krs-on-accent);
  transform: rotate(90deg) scale(1.08);
}

/* =========================================================
   Choose your Offer / Pricing Section (Colors Only, Text Unchanged)
   ========================================================= */
.pricing-section {
  width: 100%;
  padding: 120px 5%;
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.pricing-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--krs-text);
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}

.pricing-subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--krs-text-muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* 3 Cards Row */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--krs-card);
  border: 1px solid var(--krs-border);
  border-radius: 24px;
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Card 2: Momentum Highlight */
.pricing-card.momentum-card {
  background: radial-gradient(ellipse at 50% 0%, rgba(242, 194, 48, 0.14) 0%, var(--krs-card) 70%);
  border: 2px solid var(--krs-accent);
  box-shadow: 0 0 24px var(--krs-accent-glow), 0 0 50px rgba(242, 194, 48, 0.12);
}

.pricing-card.momentum-card:hover {
  box-shadow: 0 0 35px var(--krs-accent-glow), 0 0 70px rgba(242, 194, 48, 0.2);
}

.title-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.popular-badge {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 9999px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--krs-text);
}

.card-desc {
  font-size: 14.5px;
  color: var(--krs-text-muted);
  margin-top: 8px;
  line-height: 1.45;
}

/* Segmented Selector in Momentum */
.segmented-control {
  background-color: var(--krs-bg);
  border: 1px solid var(--krs-border);
  border-radius: 9999px;
  padding: 4px;
  display: flex;
  margin: 22px 0 18px;
  width: 100%;
}

.segment-btn {
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--krs-text-muted);
  cursor: pointer;
  flex: 1;
  text-align: center;
  transition: all 0.25s ease;
  outline: none;
}

.segment-btn:hover:not(.active) {
  color: var(--krs-text);
}

.segment-btn.active {
  background-color: #FFFFFF;
  color: var(--krs-on-accent);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.editing-focus-box {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--krs-border);
  min-height: 52px;
}

.focus-label {
  display: block;
  font-size: 12px;
  color: var(--krs-text-muted);
  margin-bottom: 4px;
}

.focus-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--krs-text);
  line-height: 1.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Feature Lists */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 32px;
  padding: 0;
}

.momentum-card .features-list {
  margin-top: 0;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 0 10px var(--krs-accent-glow);
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

/* =========================================================
   Pricing Card "Get a quote" Action Buttons
   ========================================================= */
.btn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 8px 8px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: auto;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background-color 0.25s ease,
              border-color 0.25s ease;
}

.btn-card:hover {
  transform: translateY(-2px);
}

.btn-card .btn-text {
  letter-spacing: -0.01em;
}

.btn-card .btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-card:hover .btn-circle {
  transform: scale(1.06);
}

.btn-card .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-card:hover .arrow-icon {
  transform: translateX(2px);
}

/* Primary Style for Momentum Card (Filled Yellow Pill with Dark Text) */
.btn-card-primary {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
  box-shadow: 0 4px 18px var(--krs-accent-glow);
  border: 1px solid var(--krs-accent);
}

.btn-card-primary:hover {
  background-color: var(--krs-accent-hover);
  border-color: var(--krs-accent-hover);
  box-shadow: 0 8px 25px rgba(232, 174, 69, 0.45);
}

.btn-card-primary .white-circle {
  background-color: #FFFFFF;
  color: var(--krs-on-accent);
}

/* Secondary Style for Spark and Authority (Dark Pill, Light Border, Light Text, Yellow Arrow Circle) */
.btn-card-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--krs-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-card-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-card-secondary .yellow-circle {
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
}

.btn-card-secondary:hover .yellow-circle {
  background-color: var(--krs-accent-hover);
}

/* Partner Panel */
.partner-panel {
  width: 100%;
  background-color: var(--krs-card);
  border: 1px solid var(--krs-border);
  border-radius: 24px;
  padding: 44px 48px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-panel:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.partner-info {
  flex: 1;
}

.partner-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--krs-text);
  margin-bottom: 6px;
}

.partner-desc {
  font-size: 15px;
  color: var(--krs-text-muted);
  margin-bottom: 24px;
}

.partner-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
}

.partner-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  min-width: 290px;
}

.btn-partner-white {
  background-color: #FFFFFF;
  color: var(--krs-on-accent);
  padding: 8px 8px 8px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-partner-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.25);
}

.btn-partner-outline {
  background-color: transparent;
  color: var(--krs-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 8px 8px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease;
}

.btn-partner-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.05);
}

.partner-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--krs-accent);
  color: var(--krs-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-partner-white:hover .partner-arrow-circle,
.btn-partner-outline:hover .partner-arrow-circle {
  transform: scale(1.06);
  background-color: var(--krs-accent-hover);
}

.btn-partner-white:hover .arrow-icon,
.btn-partner-outline:hover .arrow-icon {
  transform: translateX(2px);
}

/* =========================================================
   Behind the Edits Section (About)
   ========================================================= */
.behind-section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  box-sizing: border-box;
}

/* 50% Dark Overlay Layer with Navy Atmosphere & Glow Accents */
.behind-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(10, 12, 38, 0.85) 0%, rgba(10, 12, 38, 0.55) 100%),
    radial-gradient(circle at 15% 35%, rgba(42, 58, 143, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 85% 45%, rgba(232, 174, 69, 0.25) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.behind-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 5% 70px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* Top Row: Title & Statement */
.behind-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  margin-bottom: 40px;
}

.behind-left {
  display: flex;
  flex-direction: column;
  max-width: 680px;
}

.section-tag {
  color: var(--krs-accent);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.behind-headline {
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--krs-text);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  text-wrap: balance;
  word-break: keep-all;
}

.behind-right {
  max-width: 500px;
  padding-top: 44px;
}

.behind-statement {
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
}

/* =========================================================
   Central Content Block: 4 Minimalist Social Media Icons
   ========================================================= */
.central-social-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 4.2vw, 56px);
  margin: 64px 0 80px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.social-icon-btn {
  width: clamp(52px, 4.6vw, 62px);
  height: clamp(52px, 4.6vw, 62px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              color 0.25s ease,
              background-color 0.25s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Ambient glow pseudo-element */
.social-icon-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--krs-accent-glow) 0%, rgba(242, 194, 48, 0.08) 50%, transparent 70%);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}

.social-icon-btn svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

/* Hover: outline and icon become Yellow #F2C230 */
.social-icon-btn:hover {
  transform: translateY(-4px) scale(1.08);
  color: var(--krs-accent);
  border-color: var(--krs-accent);
  background: rgba(242, 194, 48, 0.06);
  box-shadow: 0 0 0 2px var(--krs-accent),
              0 0 24px var(--krs-accent-glow);
}

.social-icon-btn:hover::before {
  opacity: 1;
  transform: scale(1.15);
}

.social-icon-btn:hover svg {
  transform: scale(1.03);
  filter: drop-shadow(0 0 8px var(--krs-accent-glow));
}

.social-icon-btn:active {
  transform: translateY(-1px) scale(0.95);
  box-shadow: 0 0 0 2.5px var(--krs-accent-hover),
              0 0 30px var(--krs-accent-glow);
}

/* =========================================================
   Lower Row: Collaborate Group & Yellow CTA Button
   ========================================================= */
.behind-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding-top: 36px;
  border-top: 1px solid var(--krs-border);
}

.collaborate-text {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.4;
  color: var(--krs-text-muted);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Copyright line */
.copyright-line {
  color: var(--krs-text-muted);
  opacity: 0.7;
  font-size: 13px;
  text-align: center;
  margin-top: 40px;
  letter-spacing: -0.01em;
}

/* =========================================================
   Subtle Scrollbar
   ========================================================= */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--krs-card);
}

::-webkit-scrollbar-thumb {
  background: var(--krs-accent);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--krs-accent-hover);
}

/* =========================================================
   Responsive Design
   ========================================================= */
@media (max-width: 1024px) {
  .hero-main-row {
    flex-direction: column;
    gap: 32px;
  }
  .hero-right {
    max-width: 100%;
    padding-top: 0;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 580px;
    margin: 0 auto;
  }
  .partner-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
  }
  .partner-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-actions {
    width: 100%;
    min-width: unset;
  }
  .btn-partner-white,
  .btn-partner-outline {
    width: 100%;
  }
  .behind-header-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
  }
  .behind-right {
    padding-top: 0;
    max-width: 100%;
  }
  .carousel-viewport {
    height: 540px;
  }
}

@media (max-width: 768px) {
  .hero-card {
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    padding: 24px 5% 36px;
  }
  .hero-subtext {
    max-width: 100%;
  }
  .nav-links {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }
  .projects-section {
    padding: 80px 0;
  }
  .carousel-viewport {
    height: 480px;
  }
  .pricing-section {
    padding: 80px 5%;
  }
  .pricing-grid {
    max-width: 100%;
  }
  .pricing-card {
    padding: 28px 22px 32px;
  }
  .partner-panel {
    padding: 32px 20px;
  }
  .partner-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .behind-inner {
    padding: 80px 5% 50px;
  }
  .central-social-block {
    gap: 18px;
    margin: 40px 0 54px;
    flex-wrap: wrap;
  }
  .behind-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
