/* ============================================================
   DreaInno Portfolio — Components CSS
   PixelPoint-faithful architecture with pure CSS illustrations
   ============================================================ */

/* ── Site Header & Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border-subtle);
  padding: 12px 0;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  transition: opacity var(--duration-fast) ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-mark-wrap {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: all var(--duration-fast) ease;
}

.brand-logo:hover .brand-mark-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.brand-mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-accent-blue), #5371ff);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(43, 75, 238, 0.4);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent-blue);
  transition: width var(--duration-normal) var(--ease-spring);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* ── Buttons ── */
.btn-primary {
  background-color: var(--color-accent-blue);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.925rem;
  box-shadow: 0 2px 10px rgba(43, 75, 238, 0.25);
  transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.btn-primary:hover {
  background-color: var(--color-accent-blue-hover);
  color: #ffffff;
}

.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  transition: transform var(--duration-fast) var(--ease-spring), background-color var(--duration-fast) ease;
}

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

.btn-magnetic:active {
  transform: translateY(1px) scale(0.98);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-drawer {
  display: none;
}


/* ============================================================
   HERO SECTION — PixelPoint Rive Architecture
   2-column scroll layout + 3000px continuous Rive canvas
   ============================================================ */

.hero-section {
  position: relative;
  background-color: #03045e;
  color: #ffffff;
  overflow: hidden;
  padding: 0 0 100px;
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 1023px) {
  .hero-container {
    display: block;
  }
}

/* ── Left Column: 3 Sequential Narrative Stages ── */
.hero-text-col {
  position: relative;
  z-index: 10;
  font-weight: 400;
  line-height: 1.25;
}

.hero-stage-item {
  position: relative;
}

.hero-stage-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.hero-stage-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 500px;
}

.hero-stage-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 360px;
}

@media (max-width: 1279px) {
  .hero-stage-2 {
    padding-bottom: 400px;
  }

  .hero-stage-3 {
    padding-top: 150px;
    padding-bottom: 300px;
  }
}

@media (max-width: 1023px) {
  .hero-stage-1 {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
    display: block;
  }

  .hero-stage-2 {
    padding-top: 60px;
    padding-bottom: 40px;
    display: block;
  }

  .hero-stage-3 {
    padding-top: 60px;
    padding-bottom: 60px;
    display: block;
  }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 580px;
}

/* ── Mobile Fallback Illustrations ── */
.hero-mobile-illustration {
  display: none;
  margin-top: 36px;
  max-width: 100%;
}

@media (max-width: 1023px) {
  .hero-mobile-illustration {
    display: block;
    margin-top: 32px;
  }
}

.hero-mobile-illustration img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .hero-stage-1 .hero-mobile-illustration img {
    animation: mobileHeroFloat1 5.5s ease-in-out infinite alternate;
    will-change: transform, filter;
  }
  .hero-stage-2 .hero-mobile-illustration img {
    animation: mobileHeroFloat2 6.5s ease-in-out infinite alternate;
    will-change: transform, filter;
  }
  .hero-stage-3 .hero-mobile-illustration img {
    animation: mobileHeroFloat3 7.5s ease-in-out infinite alternate;
    will-change: transform, filter;
  }
}

/* ── Mobile Hero Drop an Email CTA (100% Isolated to Mobile) ── */
.hero-mobile-cta-group {
  display: none !important;
}

@media (max-width: 1023px) {
  .hero-mobile-cta-group {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 24px auto 0;
    max-width: 380px;
    width: 100%;
    position: relative;
    z-index: 10;
  }

  .hero-mobile-email-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, rgba(43, 75, 238, 0.22) 0%, rgba(238, 43, 108, 0.16) 100%), #0c0f24;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .hero-mobile-email-btn:active {
    transform: scale(0.97);
    border-color: rgba(43, 75, 238, 0.8);
    background: linear-gradient(135deg, rgba(43, 75, 238, 0.35) 0%, rgba(238, 43, 108, 0.25) 100%), #0c0f24;
  }

  .hero-mobile-email-btn svg {
    color: #38bdf8;
    flex-shrink: 0;
  }

  .hero-mobile-email-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
  }

  .hero-mobile-email-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .hero-mobile-email-addr {
    font-size: 0.76rem;
    font-family: var(--font-mono, monospace);
    color: #93c5fd;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-mobile-arrow {
    color: rgba(255, 255, 255, 0.5) !important;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .hero-mobile-email-btn:hover .hero-mobile-arrow,
  .hero-mobile-email-btn:active .hero-mobile-arrow {
    transform: translateX(3px);
    color: #ffffff !important;
  }

  .hero-mobile-quick-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .hero-mobile-quick-copy svg {
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .hero-mobile-quick-copy .copy-feedback-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
  }

  .hero-mobile-quick-copy:active {
    transform: scale(0.92);
    background: rgba(43, 75, 238, 0.25);
    border-color: #2b4bee;
  }

  .hero-mobile-quick-copy.is-copied {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: #22c55e !important;
  }

  .hero-mobile-quick-copy.is-copied svg {
    color: #22c55e !important;
  }

  .hero-mobile-quick-copy.is-copied .copy-feedback-text {
    color: #22c55e !important;
  }
}

/* ── Right Column: 3000px Continuous Rive Artboard ── */
.hero-rive-col {
  position: relative;
}

@media (max-width: 1023px) {
  .hero-rive-col {
    display: none !important;
  }
}

.hero-rive-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1100px;
  height: 3000px;
  transform: translateY(calc(-505px - 240px + 50vh)) translateX(-254px);
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 1279px) {
  .hero-rive-wrapper {
    left: 0;
    width: 846px;
    height: 2307px;
    transform: translateY(calc(-388px - 184.5px + 50vh)) translateX(-174px);
  }
}

.hero-rive-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Word-by-word Title Animation ── */
.title-word {
  display: inline;
  opacity: 0;
  transition: opacity 60ms ease, color 200ms ease;
}


/* ============================================================
   ADVANTAGES SECTION — Light Background
   ============================================================ */

.advantages-section {
  background-color: #f0ede8;
  padding: 120px 0 100px;
  border-top: none;
}

.section-title-dark {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: #0d0d0d;
  max-width: 760px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 56px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.advantage-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ee2b6c;
  flex-shrink: 0;
}

.advantage-title-dark {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111111;
}

.advantage-desc-dark {
  font-size: 1rem;
  line-height: 1.65;
  color: #444;
}


/* ============================================================
   FEATURES SECTION — Light Background (CSS Icon Grid)
   ============================================================ */

.features-section {
  background-color: #f0ede8;
  padding: 0 0 120px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 64px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Icon wrapper: dark square like PixelPoint */
.feature-icon-wrap {
  width: 80px;
  height: 80px;
  background: #111111;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.feature-title-dark {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #111111;
}

/* ── Feature Icons (Rive Canvas) ── */
.feature-icon-wrap {
  width: 80px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.feature-rive-canvas {
  width: 80px;
  height: 62px;
  display: block;
}


/* ============================================================
   WORKFLOW SECTION — Dark Background
   ============================================================ */

.workflow-section {
  background-color: #09090b;
  padding: 100px 0;
  border-top: 1px solid var(--color-border-subtle);
}

.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.workflow-step {
  padding: 28px 24px;
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ee2b6c;
  margin-bottom: 12px;
  display: block;
}

.workflow-step h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.1rem;
}

.workflow-step p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}


/* ============================================================
   SERVICES SECTION — Dark Background (CSS Illustration)
   ============================================================ */

.services-section {
  background-color: #03045e;
  padding: 100px 0 160px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.services-container {
  position: relative;
  min-height: 2050px;
}

.services-intro {
  display: flex;
  max-width: 592px;
  align-items: center;
  padding-top: 300px;
}

.services-block {
  display: flex;
  max-width: 440px;
  flex-direction: column;
  justify-content: center;
  padding-top: 400px;
}

.services-block:last-of-type {
  padding-bottom: 365px;
}

@media (max-width: 1279px) {
  .services-container {
    min-height: 1366px;
  }

  .services-intro {
    padding-top: 200px;
    max-width: 458px;
  }

  .services-block {
    padding-top: 200px;
    max-width: 406px;
  }

  .services-block:last-of-type {
    padding-bottom: 200px;
  }
}

@media (max-width: 1023px) {
  .services-container {
    min-height: auto;
  }

  .services-intro {
    padding-top: 0;
    max-width: 100%;
  }

  .services-block {
    padding-top: 60px;
    max-width: 100%;
  }

  .services-block:last-of-type {
    padding-bottom: 60px;
  }
}

.service-title {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
}

.service-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-top: 20px;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ee2b6c;
  transition: gap 0.2s ease;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.service-link:hover {
  gap: 10px;
  color: #ee2b6c;
}

/* ── Mobile Illustrations for Services ── */
.services-mobile-illustration {
  display: none;
  margin-top: 32px;
}

@media (max-width: 1023px) {
  .services-mobile-illustration {
    display: block;
  }
}

.services-mobile-illustration img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .service-web-design-illustration img {
    max-width: 380px;
    animation: mobileHeroFloat1 5.5s ease-in-out infinite alternate;
    will-change: transform, filter;
  }
  .services-block:last-of-type .services-mobile-illustration img {
    animation: mobileServiceFloat2 6.5s ease-in-out infinite alternate;
    will-change: transform, filter;
  }
}

/* ── Services 2050px Rive Canvas (Desktop) ── */
.services-rive-wrapper {
  position: absolute;
  top: 0;
  right: -60px;
  width: 1090px;
  height: 2050px;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1279px) {
  .services-rive-wrapper {
    right: -40px;
    width: 726px;
    height: 1366px;
  }
}

@media (max-width: 1023px) {
  .services-rive-wrapper {
    display: none !important;
  }
}

.services-rive-canvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* ============================================================
   CASE STUDIES / WORK SECTION — Light Background (Dark Cards)
   ============================================================ */

.work-section {
  background-color: #f0ede8;
  padding: 120px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

.section-subtitle-dark {
  color: #555;
  font-size: 1rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn-dark {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: #555;
  background-color: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.filter-btn-dark:hover {
  color: #111;
  border-color: rgba(0, 0, 0, 0.3);
}

.filter-btn-dark.active {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  font-weight: 600;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Dark case cards */
.case-card-dark {
  grid-column: span 6;
  background: #111111;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.case-card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-card-dark.featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.case-card-media {
  height: 200px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-card-dark.featured .case-card-media {
  height: 100%;
  min-height: 280px;
}

.venture-preview-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a14, #060810);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.case-card-dark.featured .case-card-body {
  padding: 36px;
}

.case-badge-dark {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.case-badge-dark.venture {
  background-color: rgba(238, 43, 108, 0.15);
  color: #ee2b6c;
  border: 1px solid rgba(238, 43, 108, 0.35);
}

.case-badge-dark.client {
  background-color: rgba(43, 75, 238, 0.15);
  color: #7a9bff;
  border: 1px solid rgba(43, 75, 238, 0.35);
}

.case-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.case-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  flex: 1;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-tag-item {
  font-size: 0.775rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.5);
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ee2b6c;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.case-card-link:hover {
  gap: 10px;
}

/* ── Fogo In-House Venture Featured Carousel ── */
.case-card-dark.featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: #0d0d14;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.08);
}

.case-card-dark.featured:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.15);
}

.case-card-dark.featured .case-card-media.fogo-carousel-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #050508;
  padding: 0;
  display: block;
}

.fogo-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
}

.fogo-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.fogo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
  z-index: 1;
}

.fogo-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.fogo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.fogo-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.5) 60%, transparent 100%);
  z-index: 3;
}

.fogo-slide-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  margin-bottom: 6px;
}

.fogo-slide-caption p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  margin: 0;
}

.fogo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 13, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
}

.fogo-carousel:hover .fogo-carousel-btn {
  opacity: 1;
}

.fogo-carousel-btn:hover {
  background: rgba(139, 92, 246, 0.85);
  border-color: rgba(167, 139, 250, 0.8);
  transform: translateY(-50%) scale(1.08);
}

.fogo-carousel-btn.prev {
  left: 14px;
}

.fogo-carousel-btn.next {
  right: 14px;
}

.fogo-carousel-indicators {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.fogo-indicator-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.fogo-indicator-dot.is-active {
  width: 42px;
  background: rgba(255, 255, 255, 0.35);
}

.fogo-indicator-dot .indicator-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #a78bfa;
  border-radius: 2px;
}

.fogo-indicator-dot.is-active .indicator-progress {
  width: 100%;
  transition: width 3.8s linear;
}

/* Fogo Card Body */
.fogo-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.fogo-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.fogo-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

.fogo-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fogo-badge-row .case-badge-dark {
  margin-bottom: 0;
}

.fogo-ext-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.fogo-title {
  font-size: 1.55rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}

.fogo-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.fogo-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 20px;
}

.fogo-metric-item {
  display: flex;
  flex-direction: column;
}

.fogo-metric-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
}

.fogo-metric-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  line-height: 1.2;
}

.fogo-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}

.fogo-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.fogo-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  display: inline-block;
  animation: fogoPulse 2s infinite ease-in-out;
}

@keyframes fogoPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@media (max-width: 1023px) {
  .case-card-dark.featured {
    grid-template-columns: 1fr;
  }

  .case-card-dark.featured .case-card-media.fogo-carousel-media,
  .case-card-dark.featured .case-card-media.affiscope-carousel-media,
  .case-card-dark.featured .case-card-media.affistyle-carousel-media,
  .case-card-dark.featured .case-card-media.npm-validator-media,
  .case-card-dark.featured .case-card-media.firewall-carousel-media,
  .case-card-dark.featured .case-card-media.pawid-media,
  .case-card-dark.featured .case-card-media.kindlink-media {
    min-height: 320px;
    height: 320px;
  }

  .fogo-carousel,
  .fogo-carousel-track,
  .npm-validator-frame,
  .pawid-frame,
  .kindlink-frame {
    min-height: 320px;
  }

  .fogo-card-body,
  .affiscope-card-body,
  .affistyle-card-body,
  .npm-validator-card-body,
  .firewall-card-body,
  .pawid-card-body,
  .kindlink-card-body {
    padding: 28px 24px !important;
  }

  .fogo-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ── Master Projects Carousel Navigation & Controls ── */
.projects-showcase-wrapper {
  margin-top: 32px;
}

.projects-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.projects-meta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projects-counter {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 6px;
}

.projects-category-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.projects-quick-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.projects-quick-tabs::-webkit-scrollbar {
  display: none;
}

.proj-tab-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.proj-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.proj-tab-btn.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.projects-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proj-nav-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.proj-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.projects-deck {
  position: relative;
  width: 100%;
}

.project-slide {
  display: none !important;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-slide.is-active {
  display: grid !important;
  opacity: 1;
  animation: projectSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes projectSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── AffiScope Pro Project Custom Styling ── */
.affiscope-slide-card {
  border-color: rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.08) !important;
}

.affiscope-slide-card:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(16, 185, 129, 0.18) !important;
}

.affiscope-carousel-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #040d08;
  padding: 0;
  display: block;
}

.affi-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
  z-index: 1;
}

.affi-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.affi-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.affi-pill {
  color: #a7f3d0 !important;
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
}

.affiscope-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.affiscope-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.affi-venture-badge {
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
  background: rgba(52, 211, 153, 0.1) !important;
}

.affi-ext-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.affi-title {
  color: #ffffff;
}

.affi-desc {
  color: rgba(255, 255, 255, 0.75);
}

.affi-color {
  color: #34d399 !important;
}

.affi-action-row {
  margin-top: auto;
  padding-top: 14px;
}

.affi-link {
  color: #34d399;
  font-weight: 600;
}

.affi-link:hover {
  color: #6ee7b7;
}

.affi-store-pill {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  text-decoration: none;
}

.affi-store-pill:hover {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}

.affi-pulse {
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
}

/* ── AffiStyle WordPress Plugin Custom Styling ── */
.affistyle-slide-card {
  border-color: rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.08) !important;
}

.affistyle-slide-card:hover {
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(56, 189, 248, 0.18) !important;
}

.affistyle-carousel-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #060b14;
  padding: 0;
  display: block;
}

.affistyle-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
  z-index: 1;
}

.affistyle-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.affistyle-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.affistyle-pill {
  color: #bae6fd !important;
  background: rgba(56, 189, 248, 0.25) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

.affistyle-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.affistyle-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.affistyle-venture-badge {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

.affistyle-ext-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.affistyle-title {
  color: #ffffff;
}

.affistyle-desc {
  color: rgba(255, 255, 255, 0.75);
}

.affistyle-color {
  color: #38bdf8 !important;
}

.affistyle-action-row {
  margin-top: auto;
  padding-top: 14px;
}

.affistyle-link {
  color: #38bdf8;
  font-weight: 600;
}

.affistyle-link:hover {
  color: #7dd3fc;
}

.affistyle-store-pill {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  text-decoration: none;
}

.affistyle-store-pill:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

.affistyle-pulse {
  background: #38bdf8 !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}

/* ── Universal Form Validator NPM Package Custom Styling ── */
.npm-validator-slide-card {
  border-color: rgba(203, 56, 55, 0.28) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(203, 56, 55, 0.08) !important;
}

.npm-validator-slide-card:hover {
  border-color: rgba(203, 56, 55, 0.48) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(203, 56, 55, 0.18) !important;
}

.npm-validator-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #090c12;
  padding: 0;
  display: block;
}

.npm-validator-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  background: #090c12;
}

.npm-validator-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.npm-pill {
  color: #fecaca !important;
  background: rgba(203, 56, 55, 0.28) !important;
  border-color: rgba(203, 56, 55, 0.48) !important;
}

.npm-validator-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.npm-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(203, 56, 55, 0.12);
  border: 1px solid rgba(203, 56, 55, 0.4);
  box-shadow: 0 4px 16px rgba(203, 56, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.npm-venture-badge {
  color: #f87171 !important;
  border-color: rgba(248, 113, 113, 0.35) !important;
  background: rgba(248, 113, 113, 0.1) !important;
}

.npm-ext-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fca5a5;
  background: rgba(252, 165, 165, 0.12);
  border: 1px solid rgba(252, 165, 165, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.npm-mit-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.npm-title {
  color: #ffffff;
}

.npm-desc {
  color: rgba(255, 255, 255, 0.75);
}

.npm-color {
  color: #f87171 !important;
}

.npm-action-row {
  margin-top: auto;
  padding-top: 14px;
}

.npm-gh-link {
  color: #f87171;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.npm-gh-link:hover {
  color: #fca5a5;
}

.npm-store-pill {
  color: #f87171 !important;
  background: rgba(203, 56, 55, 0.12) !important;
  border-color: rgba(203, 56, 55, 0.3) !important;
  text-decoration: none;
}

.npm-store-pill:hover {
  background: rgba(203, 56, 55, 0.22) !important;
  border-color: rgba(203, 56, 55, 0.5) !important;
}

.npm-pulse {
  background: #cb3837 !important;
  box-shadow: 0 0 8px #cb3837 !important;
}

/* ── AI Prompt Firewall NPM Package Custom Styling ── */
.firewall-slide-card {
  border-color: rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.08) !important;
}

.firewall-slide-card:hover {
  border-color: rgba(56, 189, 248, 0.48) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(56, 189, 248, 0.18) !important;
}

.firewall-carousel-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #060e18;
  padding: 0;
  display: block;
}

.firewall-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
  z-index: 1;
}

.firewall-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.firewall-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.firewall-pill {
  color: #bae6fd !important;
  background: rgba(56, 189, 248, 0.25) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

.firewall-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.firewall-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.firewall-venture-badge {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

.firewall-ext-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.firewall-mit-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.firewall-title {
  color: #ffffff;
}

.firewall-desc {
  color: rgba(255, 255, 255, 0.75);
}

.firewall-color {
  color: #38bdf8 !important;
}

.firewall-action-row {
  margin-top: auto;
  padding-top: 14px;
}

.firewall-gh-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.firewall-gh-link:hover {
  color: #7dd3fc;
}

.firewall-store-pill {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  text-decoration: none;
}

.firewall-store-pill:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

.firewall-pulse {
  background: #38bdf8 !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}

/* ── PawID & Care Open Source Project Custom Styling ── */
.pawid-slide-card {
  border-color: rgba(16, 185, 129, 0.28) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.08) !important;
}

.pawid-slide-card:hover {
  border-color: rgba(16, 185, 129, 0.52) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(16, 185, 129, 0.18) !important;
}

.pawid-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #020c09;
  padding: 0;
  display: block;
}

.pawid-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
}

.pawid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pawid-slide-card:hover .pawid-frame img {
  transform: scale(1.03);
}

.pawid-pill {
  color: #a7f3d0 !important;
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
}

.pawid-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.pawid-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pawid-venture-badge {
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
  background: rgba(52, 211, 153, 0.1) !important;
}

.pawid-ai-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.pawid-chain-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.pawid-mit-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.pawid-title {
  color: #ffffff;
}

.pawid-desc {
  color: rgba(255, 255, 255, 0.75);
}

.pawid-color {
  color: #34d399 !important;
}

.pawid-action-row {
  margin-top: auto;
  padding-top: 14px;
}

.pawid-gh-link {
  color: #34d399;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.pawid-gh-link:hover {
  color: #6ee7b7;
}

.pawid-status-pill {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  text-decoration: none;
}

.pawid-pulse {
  background: #34d399 !important;
  box-shadow: 0 0 8px #34d399 !important;
}

/* ── KindLink Open Source Project Custom Styling ── */
.kindlink-slide-card {
  border-color: rgba(0, 245, 212, 0.28) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 245, 212, 0.08) !important;
}

.kindlink-slide-card:hover {
  border-color: rgba(0, 245, 212, 0.52) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 245, 212, 0.18) !important;
}

.kindlink-media {
  position: relative;
  height: 100%;
  min-height: 440px;
  background: #041014;
  padding: 0;
  display: block;
}

.kindlink-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
}

.kindlink-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kindlink-slide-card:hover .kindlink-frame img {
  transform: scale(1.03);
}

.kindlink-pill {
  color: #a7f3d0 !important;
  background: rgba(0, 245, 212, 0.25) !important;
  border-color: rgba(0, 245, 212, 0.45) !important;
}

.kindlink-card-body {
  padding: 36px 40px !important;
  display: flex;
  flex-direction: column;
}

.kindlink-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.4);
  box-shadow: 0 4px 16px rgba(0, 245, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kindlink-venture-badge {
  color: #00f5d4 !important;
  border-color: rgba(0, 245, 212, 0.35) !important;
  background: rgba(0, 245, 212, 0.1) !important;
}

.kindlink-ai-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.kindlink-sol-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.kindlink-mit-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.kindlink-title {
  color: #ffffff;
}

.kindlink-desc {
  color: rgba(255, 255, 255, 0.75);
}

.kindlink-color {
  color: #00f5d4 !important;
}

.kindlink-action-row {
  margin-top: auto;
  padding-top: 14px;
}

.kindlink-gh-link {
  color: #00f5d4;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.kindlink-gh-link:hover {
  color: #5eead4;
}

.kindlink-status-pill {
  color: #00f5d4 !important;
  background: rgba(0, 245, 212, 0.12) !important;
  border-color: rgba(0, 245, 212, 0.3) !important;
  text-decoration: none;
}

.kindlink-pulse {
  background: #00f5d4 !important;
  box-shadow: 0 0 8px #00f5d4 !important;
}

/* ── Placeholder Slide Styling ── */
.placeholder-slide {
  min-height: 420px;
}

.placeholder-media {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
}

.placeholder-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.placeholder-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  letter-spacing: 0.05em;
}


/* ============================================================
   FOUNDER SECTION — Dark Background
   ============================================================ */

.founder-section {
  background-color: #03045e;
  padding: 100px 0;
  border-top: 1px solid var(--color-border-subtle);
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.founder-text {}

.founder-photo-wrap {
  aspect-ratio: 1/1;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Spotlight card effect */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(43, 75, 238, 0.1),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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


/* ============================================================
   CTA SECTION — Direct Contact & Inquiry Form
   ============================================================ */

.cta-section {
  background-color: #f0ede8;
  padding: 100px 0 120px;
  color: #0f172a;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: flex-start;
  gap: 56px;
}

.cta-text {
  padding-top: 12px;
}

.cta-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  margin-bottom: 20px;
}

.cta-heading {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a !important;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta-subheading {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569 !important;
  max-width: 500px;
  margin-bottom: 32px;
}

.cta-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-email-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: #0f172a;
  max-width: 380px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-email-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #2563eb;
}

.cta-email-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-email-info {
  display: flex;
  flex-direction: column;
}

.cta-email-lbl {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.cta-email-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
}

.cta-email-arrow {
  margin-left: auto;
  color: #94a3b8;
  font-size: 1.15rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cta-email-card:hover .cta-email-arrow {
  color: #2563eb;
  transform: translate(2px, -2px);
}

.cta-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cta-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: ctaDotPulse 1.8s infinite ease-in-out;
}

@keyframes ctaDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* ── CTA Direct Contact Form Card ── */
.cta-form-col {
  width: 100%;
}

.cta-form-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.08);
}

.cta-form-header {
  margin-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
}

.cta-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.cta-card-subtitle {
  font-size: 0.88rem;
  color: #64748b;
}

.cta-direct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.cta-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cta-form-label .req {
  color: #ef4444;
}

.cta-select-wrap {
  position: relative;
}

.cta-form-input,
.cta-form-select,
.cta-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-form-input:focus,
.cta-form-select:focus,
.cta-form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.cta-form-input::placeholder,
.cta-form-textarea::placeholder {
  color: #94a3b8;
}

.cta-form-textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.5;
}

.cta-budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-chip {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.cta-chip.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ── JavaScript Security Captcha Widget ── */
.cta-captcha-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-captcha-display {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  border-radius: 8px;
  padding: 2px 6px;
  border: 1px solid #334155;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-captcha-canvas {
  display: block;
  border-radius: 4px;
}

.cta-captcha-reload {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, transform 0.3s ease;
}

.cta-captcha-reload:hover {
  color: #ffffff;
  transform: rotate(180deg);
}

.cta-captcha-input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-mono);
  font-weight: 700;
}

.cta-captcha-hint {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}

.cta-form-status {
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 0;
  display: none;
  transition: all 0.2s ease;
}

.cta-form-status.success {
  display: block;
  padding: 12px 16px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.cta-form-status.error {
  display: block;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.cta-submit-btn {
  width: 100%;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  background: #2563eb;
  border: none;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.spinner-icon {
  animation: ctaSpin 0.9s linear infinite;
}

@keyframes ctaSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-form-card {
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .cta-form-row {
    grid-template-columns: 1fr;
  }

  .cta-captcha-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-dialog {
  background-color: var(--color-surface-base);
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  padding: clamp(24px, 5vw, 40px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease-spring);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.is-active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
  border-color: var(--color-border-hover);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(43, 75, 238, 0.2);
  outline: none;
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.budget-chip {
  padding: 8px 12px;
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: all var(--duration-fast) ease;
}

.budget-chip.active {
  background-color: rgba(43, 75, 238, 0.15);
  border-color: var(--color-accent-blue);
  color: #ffffff;
}


/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding: 64px 0 32px;
  background-color: #030304;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

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

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

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(147, 197, 253, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bae6fd;
  transition: all 0.22s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.footer-social-btn:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 0.2s ease;
}

.footer-social-btn:hover svg {
  transform: scale(1.08);
}


/* ============================================================
   SHARED UTILITIES
   ============================================================ */

.section-spacing {
  padding: 100px 0;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .hero-sticky-pane {
    grid-template-columns: 1fr;
  }

  .hero-illus-col {
    display: none;
  }

  .hero-stage-text {
    position: relative;
    opacity: 0;
    transform: translateY(0);
    padding: 0;
  }

  .hero-stage-text.vis-active {
    opacity: 1;
  }

  .hero-text-col {
    padding: 120px clamp(16px, 4vw, 48px) 60px;
    align-items: flex-start;
    height: auto;
  }

  .hero-scroll-driver {
    height: auto;
    min-height: 100vh;
  }

  .hero-sticky-pane {
    position: relative;
    height: auto;
    padding-bottom: 60px;
  }

  .services-story-grid {
    grid-template-columns: 1fr;
  }

  .services-illus-col {
    height: 240px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-illus-col {
    display: none;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-timeline {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .status-beacon {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  #headerStartProjectBtn {
    padding: 8px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    background-color: #050614;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 96px 24px 40px;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
    overflow-y: auto;
  }

  .mobile-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }

  .mobile-drawer-links a {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .case-card-dark,
  .case-card-dark.featured {
    grid-column: span 1;
  }

  .case-card-dark.featured {
    grid-template-columns: 1fr;
  }

  .workflow-timeline {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .budget-options {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stage-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}

/* ============================================================
   ABOUT PAGE — REDESIGN ARCHITECTURE
   ============================================================ */

.about-hero-section {
  position: relative;
  padding: 180px 0 90px;
  overflow: hidden;
  background-color: #03045e;
}

.about-hero-ambient {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.18), rgba(238, 43, 108, 0.08) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.about-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.about-telemetry-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-telemetry-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-telemetry-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.about-telemetry-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.about-telemetry-desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* ── Founder Spotlight Card ── */
.founder-spotlight-card {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: center;
  background: radial-gradient(circle at 90% 15%, rgba(37, 99, 235, 0.12), transparent 60%), #0c0d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.founder-spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-blue), var(--color-accent-pink), transparent);
}

.founder-credentials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.founder-cred-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.founder-cred-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
}

.founder-portrait-wrap {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.founder-portrait-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.2);
  background-color: #12131c;
  aspect-ratio: 1/1;
}

.founder-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-portrait-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(10, 10, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Principles 4-Card Bento ── */
.principles-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.principle-bento-card {
  background: #0d0e16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}

.principle-bento-card:hover {
  background: #11131e;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.principle-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  margin-bottom: 20px;
}

.principle-bento-card:nth-child(2) .principle-icon-wrap {
  background: rgba(238, 43, 108, 0.12);
  border-color: rgba(238, 43, 108, 0.25);
  color: var(--color-accent-pink);
}

.principle-bento-card:nth-child(3) .principle-icon-wrap {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.principle-bento-card:nth-child(4) .principle-icon-wrap {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
  color: #a855f7;
}

.principle-metric-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 16px;
}

/* ── Venture Ecosystem Grid ── */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ecosystem-card {
  background: #0c0d15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ecosystem-card:hover {
  background: #10121d;
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.ecosystem-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ecosystem-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.ecosystem-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ecosystem-action-link {
  font-size: 0.85rem;
  color: var(--color-accent-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.ecosystem-action-link:hover {
  color: #60a5fa;
}

/* ── About Responsive Queries ── */
@media (max-width: 1023px) {
  .about-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-spotlight-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }

  .founder-portrait-wrap {
    max-width: 320px;
  }

  .principles-bento-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   20. LEGAL PAGES (Privacy Policy & Terms of Service)
   ============================================================ */
.legal-hero-section {
  padding-top: clamp(120px, 14vw, 160px);
  padding-bottom: clamp(36px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.15), transparent 60%);
}

.legal-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent-blue);
  margin-bottom: 20px;
}

.legal-grid-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}

@media (max-width: 1023px) {
  .legal-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.legal-toc-sidebar {
  position: sticky;
  top: 100px;
  background: rgba(15, 17, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 16px;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc-link {
  color: #94a3b8;
  font-size: 0.88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.legal-toc-link:hover,
.legal-toc-link.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.legal-toc-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.6;
}

.legal-card-section {
  background: rgba(15, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
  scroll-margin-top: 110px;
  transition: border-color 0.25s ease;
}

.legal-card-section:hover {
  border-color: rgba(56, 189, 248, 0.25);
}

.legal-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.legal-card-header h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: #ffffff;
  margin: 0;
}

.legal-card-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand-primary);
}

.legal-body-text {
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.legal-highlight-box {
  background: rgba(37, 99, 235, 0.08);
  border-left: 3px solid #3b82f6;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-list {
  padding-left: 20px;
  margin-bottom: 16px;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-list li {
  margin-bottom: 8px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #bae6fd;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

/* ============================================================
   21. GLOBAL REGIONS & SEO EXPANSION (US, UK & CANADA)
   ============================================================ */
.global-regions-section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.08), transparent 70%);
  border-top: 1px solid var(--color-border-subtle);
}

.global-regions-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.global-regions-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent-blue);
  margin-bottom: 20px;
}

.global-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

@media (max-width: 1200px) {
  .global-regions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .global-regions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.region-card {
  background: rgba(15, 17, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.region-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.15);
}

.region-card-top {
  margin-bottom: 20px;
}

.region-flag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.region-flag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.region-flag-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.region-country-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.region-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #bae6fd;
}

.region-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.region-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.region-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.region-features-list li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.region-features-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

.region-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.region-hub-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}

/* FAQ Accordion Section */
.seo-faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.seo-faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.seo-faq-item {
  background: rgba(15, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.seo-faq-item[open] {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(15, 17, 26, 0.85);
}

.seo-faq-summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.seo-faq-summary::-webkit-details-marker {
  display: none;
}

.seo-faq-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  color: var(--color-brand-primary);
  flex-shrink: 0;
}

.seo-faq-item[open] .seo-faq-icon {
  transform: rotate(180deg);
}

.seo-faq-content {
  padding: 0 24px 24px 24px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.seo-faq-content p {
  margin: 0;
}